Skip to content

Commit

Permalink
Form Field Tooltip Alignment (#22832)
Browse files Browse the repository at this point in the history
* fixes alignment issues with form field labels that have tooltips

* adds gap to is-label to preserve tooltip spacing

* adds changelog entry
  • Loading branch information
zofskeez authored Sep 6, 2023
1 parent 2172786 commit 068a57c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/22832.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixes form field label tooltip alignment
```
6 changes: 5 additions & 1 deletion ui/app/styles/core/label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@

.is-label {
color: $grey-darkest;
display: inline-block;
font-size: 14px;
font-weight: $font-weight-bold;
display: flex;
align-items: center;
gap: $spacing-xxs;
width: min-content;
min-width: 100%;

&:not(:last-child) {
margin-bottom: 0.25rem;
Expand Down

0 comments on commit 068a57c

Please sign in to comment.