Skip to content

Commit d1a2374

Browse files
authored
Fixed sidebar panel order
1 parent c9d8e44 commit d1a2374

File tree

1 file changed

+42
-20
lines changed

1 file changed

+42
-20
lines changed

Diff for: discord/themes/redesign/import.css

+42-20
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,31 @@ html {
610610
}
611611

612612
>section {
613-
>[class*="wrapper_"]>div {
614-
border-top: 1px solid var(--border-subtle);
615-
border-bottom: 0 solid transparent;
613+
&:has(> :nth-child(3):last-child) {
614+
display: grid;
615+
grid-template-areas: "c2" "c1" "c3";
616+
grid-auto-flow: row;
617+
618+
> :nth-child(1) {
619+
grid-area: c1;
620+
}
621+
622+
> :nth-child(2) {
623+
grid-area: c2;
624+
}
625+
626+
> :nth-child(3) {
627+
grid-area: c3;
628+
}
629+
}
630+
631+
>[class*="wrapper_"] {
632+
width: 240px;
633+
634+
>div {
635+
border-top: 1px solid var(--border-subtle);
636+
border-bottom: 0 solid transparent;
637+
}
616638
}
617639

618640
>[class*="container_"] {
@@ -626,6 +648,23 @@ html {
626648
width: calc(296px - var(--space));
627649
z-index: 999;
628650
}
651+
652+
>[id="vc-spotify-player"] {
653+
border-top: 1px solid var(--border-subtle);
654+
border-bottom: none !important;
655+
padding-left: 12px !important;
656+
padding-right: 12px !important;
657+
658+
&:before {
659+
content: "";
660+
position: relative;
661+
display: block;
662+
height: 10px;
663+
width: 100%;
664+
top: 0;
665+
left: 0;
666+
}
667+
}
629668
}
630669
}
631670
}
@@ -744,21 +783,4 @@ html:is(.is-mobile) {
744783
}
745784
}
746785
}
747-
}
748-
749-
[id="vc-spotify-player"] {
750-
border-top: 1px solid var(--border-subtle);
751-
border-bottom: none !important;
752-
padding-left: 12px !important;
753-
padding-right: 12px !important;
754-
755-
&:before {
756-
content: "";
757-
position: relative;
758-
display: block;
759-
height: 8px;
760-
width: 100%;
761-
top: 0;
762-
left: 0;
763-
}
764786
}

0 commit comments

Comments
 (0)