1
0
Fork 0
mirror of synced 2024-07-13 18:26:06 +12:00

Shrink square status light, shrink nav item text

This commit is contained in:
Andrew Kingston 2022-07-27 11:16:43 +01:00
parent aed40def09
commit b4b9a5f526
3 changed files with 4 additions and 4 deletions

View file

@ -68,8 +68,8 @@
background: var(--color) !important; background: var(--color) !important;
} }
.square::before { .square::before {
width: 16px; width: 14px;
height: 16px; height: 14px;
border-radius: 4px; border-radius: 4px;
margin: 0; margin: 0;
} }

View file

@ -186,7 +186,7 @@
.text { .text {
font-weight: 600; font-weight: 600;
font-size: 14px; font-size: 12px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

View file

@ -24,7 +24,7 @@
let newOffsets = {} let newOffsets = {}
// Calculate left offset // Calculate left offset
const offsetX = bounds.left + bounds.width + scrollLeft - 39 const offsetX = bounds.left + bounds.width + scrollLeft - 36
if (offsetX > sidebarWidth) { if (offsetX > sidebarWidth) {
newOffsets.left = offsetX - sidebarWidth newOffsets.left = offsetX - sidebarWidth
} else { } else {