diskort/src/style/fixes.less

73 lines
1.3 KiB
Plaintext

// fix guild selector at left part
ul[data-list-id="guildsnav"] div[class^="scroller-"] {
display: flex;
flex-direction: column;
overflow: hidden !important;
// servers
& > div[aria-label] {
overflow: hidden scroll;
scrollbar-width: none;
flex-grow: 1;
// add button
& + div {
margin-top: 4px;
// all others
& ~ div
{ &:extend(.hide); }
}
}
}
div[class^="messagesWrapper-"] div {
scrollbar-width: thin;
}
#emoji-picker-tab-panel {
&:not([role="dialog"]) {
// if add reaction (role=dialog), it breaks
position: absolute;
top: 0; bottom: 0;
left: 0; right: 0;
}
div[class^="wrapper-"] {
top: 0;
border-radius: 5px 0 0 5px; // for add reaction
}
}
div[class*="fullscreenOnMobile"] div[class^="flex"] * {
// fix overflow
overflow: hidden;
}
div[class*="templatesList-"] {
// fix tempates list (it was removed)
height: 128px;
}
// Fix positioning
div[class^="toolsContainer-"] { // in settings
position: fixed !important;
right: 21px;
padding: 0;
margin-top: 60px;
border-radius: 16px;
& > div {
position: unset !important;
div[class^="container"] > * {
background-color: var(--background-nested-floating);
}
}
}
div[class^="contentContainer-"] div[class*="stickyHeader-"] {
padding-left: 0;
padding-right: 0;
margin: 0;
}