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
@@ -25,8 +25,8 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
gap: 1rem;
padding: 1.75rem;
gap: 0.875rem;
}
.loading-text {
@@ -35,23 +35,23 @@
.empty-state {
position: relative;
padding: 3rem !important;
padding: 2.625rem !important;
text-align: center;
color: var(--color-text-secondary);
.empty-state-title {
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 600;
margin-top: 1rem;
margin-bottom: 0.5rem;
margin-top: 0.875rem;
margin-bottom: 0.4375rem;
color: var(--color-text);
}
.empty-state-subtitle {
max-width: 400px;
margin: 0.5rem auto 0;
margin: 0.4375rem auto 0;
line-height: 1.6;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
}
@@ -74,8 +74,8 @@
.notes-horizontal-list {
display: flex;
gap: 1.5rem;
padding: 0.5rem;
gap: 1.3125rem;
padding: 0.4375rem;
}
.note-card {
@@ -125,13 +125,13 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 0.75rem;
padding: 0.6563rem;
}
.note-title-group {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.2188rem;
}
.note-title {
@@ -141,17 +141,17 @@
text-overflow: ellipsis;
color: var(--color-text);
font-weight: 500;
font-size: 1.125rem;
font-size: var(--app-text-lg);
margin: 0;
@media (width <= 768px) {
max-width: 200px;
font-size: 1rem;
font-size: var(--app-text-base);
}
@media (width <= 480px) {
max-width: 180px;
font-size: 0.9rem;
font-size: 0.7875rem;
}
}
@@ -166,18 +166,18 @@
}
.note-meta-icon {
font-size: 0.75rem;
margin-right: 0.25rem;
font-size: var(--app-text-xs);
margin-right: 0.2188rem;
}
.note-meta-text {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
}
.note-actions {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
flex-shrink: 0;
.action-btn-hover {
@@ -202,7 +202,7 @@
display: flex;
flex-direction: column;
position: relative;
padding: 1rem;
padding: 0.875rem;
.note-fade-overlay {
position: absolute;
@@ -248,26 +248,26 @@
@media (width <= 768px) {
max-height: 140px;
font-size: 0.9rem;
font-size: 0.7875rem;
}
@media (width <= 480px) {
max-height: 120px;
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
.dialog-form {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
}
.field-label {
display: block;
font-size: 0.875rem;
font-size: var(--app-text-sm);
font-weight: 500;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
color: var(--color-text);
}
@@ -277,7 +277,7 @@
.dialog-actions {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
justify-content: flex-end;
}