Skip to content

Instantly share code, notes, and snippets.

@Mathnerd314
Created December 25, 2019 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mathnerd314/4872ac6803f5e05558e1ba89ca5ec4f7 to your computer and use it in GitHub Desktop.
Save Mathnerd314/4872ac6803f5e05558e1ba89ca5ec4f7 to your computer and use it in GitHub Desktop.
BetterDiscord Custom CSS to hide repeated usernames in the compact theme
.da-messageCompact:nth-child(n+2) .da-username {
visibility: hidden;
}
.da-headerCompact {
display: table-cell;
width: 1px;
height: 1px;
padding-right: .3rem;
vertical-align: top;
}
.da-headerCompact > *, .da-username {
height: 100%;
display: inline-block;
}
.da-markup {
text-indent: 0;
margin-left: 0;
display: table;
width: 100%;
}
.da-contentCompact > .da-buttonContainer {
position: absolute;
top: 0;
right: 0;
}
.da-contentCompact {
position: relative;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment