Skip to content

Commit

Permalink
FIX: responsive Discord various pages
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenMan36 committed Dec 17, 2023
1 parent 0132b63 commit 4e934d6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions files/discord-mods/themes/responsive-discord.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name Greens Responsive Discord
* @author GreenMan36#0633
* @authorLink https://github.com/GreenMan36
* @version 17.12.23d
* @version 17.12.23c
* @description A theme that tries to make Discord's sidebars adapt when resizing your window.
*/

Expand All @@ -22,7 +22,7 @@
/* used for theme name and version, DO NOT TOUCH */
:root {
--theme-name: "Greens Responsive Discord";
--version: "17.12.23d";
--version: "17.12.23c";
}

/* these can be customized. just copy/paste the whole thing into your custom CSS and mess around with it. */
Expand Down Expand Up @@ -247,6 +247,11 @@ a.anchor-1MIwyf.anchorUnderlineOnHover-2qPutX.snowsgivingLink-1TZi3c {
margin-left: 128px;
}

/* fix channels and roles page having double margin */
[class^="chat__"]:has(> [class*="pageBody_"], > * > [class*="pageBody_"], ) {
margin-left: 0;
}

/* Fixes opened forum posts to not have margin */
[class^="content__"]:has(.threadSidebarFloating_b980c7) [class*="floating_"] [class^="chat__"] {
margin-left: unset;
Expand Down Expand Up @@ -435,3 +440,8 @@ button.button-1EGGcP {
right: -440px;
}
}

/* make the new members page table scrollable/usable */
[class^="content__"]:has([class^="mainTableContainer__"]) {
overflow-x: auto;
}

0 comments on commit 4e934d6

Please sign in to comment.