Last active
April 11, 2023 07:53
-
-
Save axyiee/f48953bb921da910add776425942575d to your computer and use it in GitHub Desktop.
[Discord CSS Snippet] Better alignment between user info panel and channel text area
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
[class^="sidebar-"] [class^="panels-"] { | |
margin: 16px; | |
border-radius: 8px; | |
} | |
[class^="sidebar-"] [class^="panels-"] [class^="container-"] { | |
border-radius: 8px; | |
align-items: center; | |
justify-content: space-between; | |
} | |
[class^="sidebar-"] [class^="panels-"] [class*="withTagAsButton-"] { | |
min-width: unset; | |
} | |
[class^="sidebar-"] [class^="panels-"] [class^="nameTag-"] [class*="title-"] { | |
max-width: 32pt; | |
} | |
[class^="channelTextArea-"] { | |
margin-bottom: 16px; | |
} | |
[class^="channelTextArea-"] [class^="scrollableContainer-"] { | |
display: flex; | |
align-items: center; | |
min-height: 52px; | |
flex-wrap: wrap; | |
} | |
[class^="channelTextArea-"] [class^="scrollableContainer-"] [class^="inner-"] { | |
display: flex; | |
width: 100%; | |
} | |
[class^="channelTextArea-"] [class^="scrollableContainer-"] ul[role="list"] { | |
flex-grow: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment