Vertically center 'icon--help' (redo)

A better fix with extra specificity, since the main issue was with form-fields only. The previous fix was too wide and broke other areas with column flex.
This commit is contained in:
infinite-persistence 2021-09-07 16:10:40 +08:00
parent a6ece46be4
commit 6a5ea5d3c6
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 6 additions and 1 deletions

View file

@ -483,6 +483,12 @@ fieldset-section {
padding-right: var(--spacing-l); padding-right: var(--spacing-l);
} }
} }
label {
.icon--help {
vertical-align: middle;
}
}
} }
#automatic_dark_mode_range_start, #automatic_dark_mode_range_start,

View file

@ -45,7 +45,6 @@
color: var(--color-subtitle); color: var(--color-subtitle);
margin-left: var(--spacing-xs); margin-left: var(--spacing-xs);
opacity: 0.7; opacity: 0.7;
vertical-align: middle;
} }
.icon--hidden { .icon--hidden {