Skip to content

Instantly share code, notes, and snippets.

@TGNThump
Last active April 26, 2020 16:47
Show Gist options
  • Save TGNThump/807946dce43c35dfb4babc771c768645 to your computer and use it in GitHub Desktop.
Save TGNThump/807946dce43c35dfb4babc771c768645 to your computer and use it in GitHub Desktop.
Better Discord Custom CSS
.da-sidebar {
width: auto;
display: flex;
flex-direction: column;
}
.emoji.jumboable {
width: 2rem;
height: 2rem;
min-height: 2rem;
}
.da-sidebar > .da-container{
width: 240px;
}
.da-panels{
width: 0;
overflow: visible;
}
.da-panels .da-container{
width: 220px;
background-color: var(--background-secondary-alt);
}
.da-privateChannels {
width: 60px;
transition: width 0.5s;
}
.da-privateChannels .da-scroller {
overflow-y: hidden;
overflow-x: hidden;
}
.da-sidebar:hover .da-privateChannels .da-scroller {
overflow-y: scroll;
}
.da-sidebar:hover .da-privateChannels{
width: 240px;
}
.da-privateChannels .da-privateChannelsHeaderContainer{
display: none;
}
.da-privateChannels .da-channel {
margin: 0 6px;
}
.da-searchBar .da-searchBarComponent,
.da-searchBar .da-searchBarComponent{
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.da-panels .da-ping{
margin: 0 8px;
}
.da-panels .da-avatarWrapper{
margin: 6px;
}
.da-panels .da-labelWrapper{
margin-left: 8px;
}
.da-panels .da-nameTag{
margin-left: 8px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment