mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 05:50:22 +00:00
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:
commit
488dd7aeb4
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue