Last active
December 20, 2019 19:03
-
-
Save richrd/ad0e1ce6bf03b4c492841b7e65c31390 to your computer and use it in GitHub Desktop.
The Lounge conversation view CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#chat .msg { | |
display: flex; | |
flex-wrap: wrap; | |
} | |
#chat .msg:not(.previous-source) { | |
margin-top: 1em; | |
} | |
#chat .msg.previous-source { | |
margin-top: 0em; | |
} | |
#chat .msg.previous-source .time, | |
#chat .msg.previous-source .from { | |
display: none; | |
} | |
#chat .condensed-summary { | |
margin: 0 auto; | |
} | |
#chat .condensed-summary .time, | |
#chat .condensed-summary .from { | |
display: none; | |
} | |
#chat .from { | |
order: 0; | |
width: auto; | |
} | |
#chat .time { | |
order: 1; | |
padding-left: 0; | |
} | |
#chat .content { | |
display: flex; | |
flex-wrap: wrap; | |
order: 2; | |
} | |
#chat .content[type="message"] { | |
width: 100%; | |
} | |
#chat .content .preview, | |
#chat .content .whois { | |
width: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment