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:
parent
a227e6a979
commit
a6ece46be4
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
color: var(--color-subtitle);
|
||||
margin-left: var(--spacing-xs);
|
||||
opacity: 0.7;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.icon--hidden {
|
||||
|
|
Loading…
Reference in a new issue