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
@ -1201,6 +1201,12 @@ kbd {
|
|||||||
display: inline-flex !important;
|
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 {
|
#chat .count {
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
|
Loading…
Reference in New Issue
Block a user