mostly bugfixes

This commit is contained in:
Er2 2022-04-12 20:53:03 +03:00
parent 445c1f8423
commit dc0d38df01
5 changed files with 32 additions and 12 deletions

View file

@ -3,7 +3,8 @@
* Zlib License * Zlib License
*/ */
@no-nitro: false; // DO NOT CHANGE! Comment src/nitro to disable anti-nitro @no-nitro: true;
@no-banner: false;
@round: 8px; @round: 8px;
@rounder: 16px; @rounder: 16px;

View file

@ -4,18 +4,20 @@ ul[data-list-id="guildsnav"] div[class^="scroller-"] {
flex-direction: column; flex-direction: column;
overflow: hidden !important; overflow: hidden !important;
& > div:nth-child(3) { // servers
& > div[aria-label] {
overflow: hidden scroll; overflow: hidden scroll;
scrollbar-width: none; scrollbar-width: none;
flex-grow: 1; flex-grow: 1;
}
& > div:nth-child(4) { // add button
& + div {
margin-top: 4px; margin-top: 4px;
// all others
& ~ div & ~ div
{ &:extend(.hide); } { &:extend(.hide); }
} }
}
} }
div[class^="messagesWrapper-"] div { div[class^="messagesWrapper-"] div {

View file

@ -1,5 +1,6 @@
@no-nitro: true; .nitroblock() when (@no-nitro = true) {
.nitro { &:extend(.hide); } .nitro { &:extend(.hide); }
[class^="marketing"], [class^="marketing"],
@ -33,3 +34,11 @@ nav[class^="privateChannels-"] div div // Nitro tab at DM
} }
} }
} }
}
.nitroblock() when (@no-banner = true) {
[class^="bannerContainer-"],
[class*="banner-"]
{ &:extend(.hide); }
}
.nitroblock();

View file

@ -20,12 +20,11 @@ div[class^="accountProfileCard-"] div[class^="userInfo-"] {
.profile() when (@no-nitro = true) { .profile() when (@no-nitro = true) {
[class^="botTagVerified-"], [class^="botTagVerified-"],
[class^="bannerContainer-"],
[class*="banner-"],
[class^="badgeList-"], [class^="badgeList-"],
[class^="profileBadges-"], [class^="profileBadges-"],
{ &:extend(.nitro); } { &:extend(.nitro); }
}
.profile() when (@no-banner = true) {
div[class^="listItemContents-"] div[class^="userInfo"] { div[class^="listItemContents-"] div[class^="userInfo"] {
padding-top: 0; padding-top: 0;
div[class^="avatar-"] { div[class^="avatar-"] {

View file

@ -212,6 +212,10 @@ div[data-list-id="audit-log"] {
#integrations-tab > div:nth-child(2) { #integrations-tab > div:nth-child(2) {
.horiz-tab(); .horiz-tab();
img[class^="iconWrapper-"] {
width: unset;
}
button[class^="createButton-"], button[class^="createButton-"],
[class^="sectionHeader-"], [class^="sectionHeader-"],
& > div:first-child { & > div:first-child {
@ -237,6 +241,11 @@ div[data-list-id="audit-log"] {
} }
} }
#community-tab > div[class^="container-"] {
& > div[class^="banner-"]
{ &:extend(.hide); }
}
#discovery-tab > div[class^="container-"] { #discovery-tab > div[class^="container-"] {
.horiz-tab(); .horiz-tab();
span[class*="Button"] { span[class*="Button"] {