chore(ui): normalise text size and spacing (#1656)
This commit is contained in:
+23
-23
@@ -9,7 +9,7 @@
|
||||
.settings-title {
|
||||
@include settings.settings-page-title;
|
||||
|
||||
margin-bottom: 0.75rem;
|
||||
margin-bottom: 0.6563rem;
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
@@ -19,19 +19,19 @@
|
||||
.settings-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
}
|
||||
|
||||
.preferences-section {
|
||||
@media (width >= 768px) {
|
||||
padding: 0 1rem;
|
||||
padding: 0 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header {
|
||||
@include settings.settings-section-header;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 0.875rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
@@ -47,7 +47,7 @@
|
||||
.setting-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
gap: 1.75rem;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
gap: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,15 +68,15 @@
|
||||
display: block;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: var(--app-text-base);
|
||||
margin-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.setting-label-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
gap: 0.875rem;
|
||||
margin-bottom: 0.4375rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.setting-label {
|
||||
@@ -88,12 +88,12 @@
|
||||
.input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -101,7 +101,7 @@
|
||||
.setting-description {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-section-description-size;
|
||||
line-height: 1.5;
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
margin-top: 0.125rem;
|
||||
margin-top: 0.1094rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
@@ -119,7 +119,7 @@
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
align-items: flex-end;
|
||||
|
||||
@media (width <= 768px) {
|
||||
@@ -131,12 +131,12 @@
|
||||
.input-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: 0.6563rem;
|
||||
|
||||
@media (width <= 768px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
gap: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,13 +146,13 @@
|
||||
align-items: center;
|
||||
|
||||
input {
|
||||
padding-right: 2.5rem;
|
||||
padding-right: 2.1875rem;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.unit {
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
right: 0.6563rem;
|
||||
color: var(--p-text-muted-color);
|
||||
font-size: settings.$settings-section-description-size;
|
||||
pointer-events: none;
|
||||
@@ -162,10 +162,10 @@
|
||||
.warning-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
gap: 0.4375rem;
|
||||
font-size: var(--app-text-sm);
|
||||
color: var(--p-text-muted-color);
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-orange-500);
|
||||
@@ -173,7 +173,7 @@
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
margin-top: 0.5rem;
|
||||
margin-top: 0.4375rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user