Merge pull request #1347 from thelounge/astorije/fix-empty-preview

Hide empty preview divs when there are no previews loaded
This commit is contained in:
Pavel Djundik 2017-07-18 15:44:51 +03:00 committed by GitHub
commit 488dd7aeb4

View file

@ -1201,6 +1201,12 @@ kbd {
display: inline-flex !important;
}
/* Do not display an empty div when there are no previews. Useful for example in
part/quit messages where we don't load previews (adds a blank line otherwise) */
#chat .preview:empty {
display: none;
}
#chat .count {
background: #fafafa;
height: 48px;