Vertically center 'icon--help'

Reasons:
- Better symmetry.
- When used on a form-field label, the off-centeredness causes an extra offset at the top. Since the icon goes away when there is an input error, the form-field shifts a bit. (An alternative is to use a smaller icon, but I think size 16 is the best for legibility).
This commit is contained in:
infinite-persistence 2021-09-07 14:40:59 +08:00
parent a227e6a979
commit a6ece46be4
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

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