Remove channel descriptions.

Discord label at top left in friends tab.
This commit is contained in:
Er2 2022-03-29 21:29:46 +03:00
parent 552e7e8233
commit efa5111861
3 changed files with 11 additions and 9 deletions

View file

@ -21,14 +21,6 @@ div[class^="messagesWrapper-"] div {
}
}
// Fix centering
div[class^="children-"] div[class^="nicknames-"],
div[class^="children-"] div[class^="topic-"]
{
width: unset !important;
flex-grow: 0;
}
div[class*="fullscreenOnMobile"] div[class^="flex"] * {
// fix overflow
overflow: hidden;

View file

@ -101,6 +101,8 @@ div[class^="autocompleteShadow-"], // bugged
div[class^="overviewSidebar-"], // at community creation, not needed
section div[class^="children-"] div[class^="spacer-"], // to check
div[class^="base-"] div[class^="children-"] div[class^="divider-"] ~ div:not([class^="tabBar-"]),
div[class^="base-"] div[class^="children-"] div[class^="divider-"],
div[class^="children-"]::after, // shadow at title
{
all: unset !important;

View file

@ -217,7 +217,15 @@ div[class^="channelTextArea-"] {
}
nav[class^="private"] {
margin-top: 48px;
&::before {
content: "Discord";
color: var(--header-primary);
margin: ((48px - 20px) / 2) 16px; // 20px is line-height
font-size: 15px;
line-height: 20px;
font-weight: 600;
font-family: var(--font-display);
}
}
section { // bottom panel