Skip to content

Commit

Permalink
Fixed an issue with label alignment of inputs
Browse files Browse the repository at this point in the history
dnn-input and dnn-select were having alignment issues when used in situations where the label would not have the same font-size as the body.

This makes the label be 1rem so that we can align it with an expected size.
  • Loading branch information
valadas committed Aug 14, 2023
1 parent 9dc18fe commit d6f852e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
white-space: nowrap;
max-width: 100%;
border-radius: var(--control-radius);
font-size: 1rem;
}
input{
border: none;
Expand Down Expand Up @@ -119,7 +120,7 @@ button.show-password{
margin: 0;
padding: 0;
svg{
height: 1em;
height: 1rem;
width: auto;
fill: var(--foreground);
transform: scale(1.5);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
white-space: nowrap;
max-width: 100%;
border-radius: var(--control-radius);
font-size: 1rem;
}
select{
border: none;
Expand Down

0 comments on commit d6f852e

Please sign in to comment.