chore(ui): normalise text size and spacing (#1656)

This commit is contained in:
Alex
2026-06-07 08:46:25 +01:00
committed by GitHub
parent 2675c4a04a
commit 349f046062
180 changed files with 4555 additions and 4466 deletions
+17 -17
View File
@@ -18,7 +18,7 @@
@media #{variables.$mobile-shell-media-query} {
.cdk-overlay-backdrop.command-palette-backdrop {
top: 3.5rem;
top: 3.0625rem;
}
}
@@ -73,7 +73,7 @@
flex-shrink: 0;
width: var(--control-icon-size);
height: var(--control-icon-size);
font-size: var(--text-base);
font-size: var(--app-text-base);
color: var(--color-surface-500);
}
@@ -96,7 +96,7 @@
.sidebar-notification-popover,
.user-account-popover {
max-width: calc(100vw - 1rem);
max-width: calc(100vw - 0.875rem);
overflow: hidden;
border: 1px solid var(--color-border);
border-radius: var(--control-radius);
@@ -114,16 +114,16 @@
.user-account-popover {
display: flex;
flex-direction: column;
width: min(17.5rem, calc(100vw - 1rem));
width: min(15.3125rem, calc(100vw - 0.875rem));
}
.user-account-popover-header {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
box-sizing: border-box;
width: 100%;
padding: 0.75rem;
padding: 0.6563rem;
border-bottom: 1px solid var(--color-border);
}
@@ -131,17 +131,17 @@
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
gap: 0.4375rem;
width: 100%;
}
.user-account-popover-header h2 {
display: flex;
align-items: baseline;
gap: 0.5rem;
gap: 0.4375rem;
min-width: 0;
margin: 0;
font-size: var(--text-lg);
font-size: var(--app-text-lg);
font-weight: 600;
line-height: 1.15;
white-space: nowrap;
@@ -152,7 +152,7 @@
overflow: hidden;
text-overflow: ellipsis;
color: var(--color-text-secondary);
font-size: var(--text-xs);
font-size: var(--app-text-xs);
font-weight: 500;
}
@@ -161,14 +161,14 @@
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 2rem;
height: 2rem;
width: 1.75rem;
height: 1.75rem;
padding: 0;
border: 0;
border-radius: 8px;
background: transparent;
color: var(--color-surface-500);
font-size: var(--text-base);
font-size: var(--app-text-base);
cursor: pointer;
transition:
background-color var(--transition-fast),
@@ -186,14 +186,14 @@
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
gap: 0.4375rem;
}
.user-account-popover-body {
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.375rem;
gap: 0.2188rem;
padding: 0.3281rem;
}
.user-account-popover .user-account-popover-action {
@@ -202,7 +202,7 @@
}
.user-account-popover-footer {
padding: 0.375rem;
padding: 0.3281rem;
border-top: 1px solid var(--color-border);
}