Shrink square status light, shrink nav item text

This commit is contained in:
Andrew Kingston 2022-07-27 11:16:43 +01:00
parent 27842f4c1a
commit 805b836040
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 {