diskort/src/fixes.less

100 lines
1.7 KiB
Plaintext

// fix guild selector at left part
ul[data-list-id="guildsnav"] div.scroller-3X7KbA {
display: flex;
flex-direction: column;
overflow: hidden !important;
// servers
& > div[aria-label] {
overflow: hidden scroll;
scrollbar-width: none;
flex-grow: 1;
// Chrome, ugh..
&::-webkit-scrollbar {
display: none;
}
// add button
& + div {
margin-top: 4px;
// all others
& ~ div
{ &:extend(.hide); }
}
}
}
#channels ul {
height: unset !important;
margin-bottom: 8px;
}
div.messagesWrapper-RpOMA3 > div {
scrollbar-width: thin;
}
#emoji-picker-tab-panel {
z-index: 0;
&:not([role="dialog"]) {
// if add reaction (role=dialog), it breaks
position: absolute;
top: 0; bottom: 0;
left: 0; right: 0;
}
div.wrapper-22rqw6 {
top: 0;
border-radius: 8px;
}
}
div.fullscreenOnMobile-ixj0e3 div.flex-3BkGQD * {
// fix overflow
overflow: hidden;
}
div.templatesList-uohY49 {
// 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;
}
// media embed fixes
div.inlineMediaEmbed-1m3ApS {
width: max-content;
}
// in profile
.warningCircleIcon-mFju_m {
position: fixed;
}
div.container-YkUktl div.avatarWrapper-1B9FTW {
margin-right: auto; // make some space after avatar (sidebar at bottom)
min-width: unset;
padding: unset;
}