mostly bugfixes
This commit is contained in:
		
							parent
							
								
									445c1f8423
								
							
						
					
					
						commit
						dc0d38df01
					
				
					 5 changed files with 32 additions and 12 deletions
				
			
		|  | @ -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; | ||||||
|  |  | ||||||
|  | @ -4,17 +4,19 @@ 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 | ||||||
|     margin-top: 4px; |     & + div { | ||||||
| 
 |       margin-top: 4px; | ||||||
|     & ~ div |       // all others | ||||||
|     { &:extend(.hide); } |       & ~ div | ||||||
|  |       { &:extend(.hide); } | ||||||
|  |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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(); | ||||||
|  |  | ||||||
|  | @ -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-"] { | ||||||
|  |  | ||||||
|  | @ -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"] { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue