comments: fix video duration not being shown on thumbnails
Fix the video duration not being shown on thumbnails on the https://danbooru.donmai.us/comments page. BUG: this introduces duplicate HTML ids on the comments page. Post thumbnails and post comment containers both have the same html ID.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
div.list-of-messages {
|
||||
margin: 1em 0;
|
||||
|
||||
> * + * { margin-top: 2em; }
|
||||
|
||||
article.message {
|
||||
display: flex;
|
||||
margin-top: 2em;
|
||||
word-wrap: break-word;
|
||||
padding: 5px;
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ $spacer: 0.25rem; /* 4px */
|
||||
.align-top { vertical-align: top; }
|
||||
.align-middle { vertical-align: middle; }
|
||||
|
||||
.flex-1 { flex: 1 1 0%; }
|
||||
.flex-auto { flex: 1 1 auto; }
|
||||
.items-center { align-items: center; }
|
||||
.justify-center { justify-content: center; }
|
||||
|
||||
@@ -17,18 +17,6 @@ div#c-comments {
|
||||
div.post {
|
||||
display: flex;
|
||||
margin-bottom: 4em;
|
||||
|
||||
div.preview {
|
||||
width: 154px;
|
||||
height: 154px;
|
||||
margin-right: 30px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.comment-section {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user