Skip to content

Commit

Permalink
Fix channel and member sidebar jitter #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Apr 9, 2022
1 parent eb145da commit e0f788e
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions section/box/piOSboxChannelMemberServer.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,32 @@
* @version 1
*/

/* ---- Channel sidebar ---- */
/* Adds dashes between channel groups */
.containerDefault-3TQ5YN:not(:nth-of-type(2))::before {
/* Adds dashes between channel/member groups */
.containerDefault-3TQ5YN:not(:first-of-type)::before,
.membersGroup-2eiWxl.container-q97qHp:not(:first-of-type)>span:last-child::before {
position: absolute;
font-size: 16pt;
content: "-------------------";
color: var(--channels-default);
}

/* ---- Channel sidebar ---- */
/* Position dashes between channel groups */
.containerDefault-3TQ5YN:not(:first-of-type)::before {
content: "-------------------";
margin-left: 5px;
top: 0;
}

/* ---- Members list ---- */
/* adds dashes between member groups */
.membersGroup-2eiWxl.container-q97qHp:not(:first-of-type)::before {
font-size: 16pt;
display: block;
/* Position dashes between member groups */
.membersGroup-2eiWxl.container-q97qHp {
position: relative;
}
.membersGroup-2eiWxl.container-q97qHp:not(:first-of-type)>span:last-child::before {
content: "-----------------";
color: var(--channels-default);
padding-bottom: 6px;
display: block;
font-weight: 9;
}
/* Add spacing between member groups */
.membersGroup-2eiWxl:not(:first-of-type) {
height: 56px;
padding-top: 18px;
top: 8px;
}

/* ---- Servers sidebar ---- */
Expand Down

0 comments on commit e0f788e

Please sign in to comment.