Skip to content

Commit eb2eecb

Browse files
committed
css: Display story img as it is
In story, imgs may be inline or floating, so it seems better not to set any css for them. `clear: both` is also added at `.story-actions-container` to prevent floating img out of content area.
1 parent 1ecc446 commit eb2eecb

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

app/public/css/styles.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,6 @@ p.story-details {
256256
font-weight: 300;
257257
}
258258

259-
.story-body img {
260-
margin: 16px auto;
261-
display: block;
262-
padding: 5px;
263-
border: 1px solid #e5e5e5;
264-
}
265-
266259
.story-body ul {
267260
list-style-type: disc;
268261
}
@@ -275,6 +268,7 @@ p.story-details {
275268
border-top: 2px solid #FAF2E5;
276269
height: 28px;
277270
line-height: 30px;
271+
clear: both;
278272
}
279273

280274
.story-actions {

0 commit comments

Comments
 (0)