float none for multiple files in posts to prevent ugly posts

merge-requests/208/head
fatchan 4 years ago
parent d84f6bdd81
commit 41c7722685
  1. 6
      gulp/res/css/style.css
  2. 2
      views/mixins/post.pug

@ -630,6 +630,10 @@ details.actions div {
align-items: start;
}
.fn {
float: none;
}
a, video, img, input, summary, select, option, textarea {
outline: 0;
}
@ -871,11 +875,9 @@ input:invalid, textarea:invalid {
.left {
float: left;
}
.cb {
clear: both;
}
.right {
float: right;
}

@ -59,7 +59,7 @@ mixin post(post, truncate, manage=false, globalmanage=false, ban=false)
option Hide by ID
.post-data
if post.files.length > 0
.post-files
.post-files(class=(post.files.length > 1 ? 'fn' : ''))
each file in post.files
.post-file
span.post-file-info

Loading…
Cancel
Save