Skip to content

Commit b0b73fd

Browse files
committed
small fix
1 parent 8bcb876 commit b0b73fd

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

css/ZeroBlog.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ a:hover { color: #3498db }
8181

8282
.left { float: left; display: inline-block; width: 25%; margin-top: 60px; text-align: right }
8383
.right { display: inline-block; width: 75%; padding-top: 60px }
84-
.left .trigger { padding-left: 20px; }
85-
.right .posts, .right .post-full, .right .pager, .right .footer { padding-left: 60px; }
84+
.left .trigger { padding: 0 20px; }
85+
.right .posts, .right .post-full, .right .pager, .right .footer { padding: 0 30px; }
8686
.left .avatar {
8787
background-color: #F0F0F0; width: 60px; height: 60px; border-radius: 100%; margin-bottom: 10px;
8888
background-position: center center; background-size: 70%; display: inline-block; image-rendering: pixelated;
@@ -143,7 +143,7 @@ a:hover { color: #3498db }
143143

144144
.post .body a img { margin-bottom: -8px }
145145
.post .body img { max-width: 100% }
146-
.post .body table { border-collapse: collapse; margin-bottom: 10px; margin: auto }
146+
.post .body table { display: block; width: 100%; overflow: auto; border-spacing: 0; border-collapse: collapse; margin-bottom: 10px; margin: auto }
147147
.post .body td, .post .body th { padding: 5px 10px; border: 1px solid #EEE; border-collapse: collapse; text-align: left }
148148

149149
code {

css/mobile.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ html, body, p, th, td, li {
1717
font-size: medium !important;
1818
}
1919
.right {
20-
width: 95%;
21-
max-width: 100%;
20+
width: 100%;
2221
margin-left: 0px;
23-
padding-right: 10px;
24-
padding-left: 10px;
22+
max-width: 750px;
23+
}
24+
.left .trigger { padding: 0 10px; }
25+
.right .posts, .right .post-full, .right .pager, .right .footer {
26+
padding: 0 10px;
2527
}
2628
.editable-edit {
2729
position: absolute;

0 commit comments

Comments
 (0)