Skip to content

Commit

Permalink
fix(DropdownTrigger): scale component with user font size
Browse files Browse the repository at this point in the history
  • Loading branch information
akdetrick committed Jun 3, 2024
1 parent 78bc50a commit 71a92fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DropdownTrigger/index.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.nds-dropdownTrigger {
position: relative;
min-height: 48px;
min-height: rem(48px);
display: flex;
align-items: center;
}
.nds-dropdownTrigger-button {
min-height: 48px;
min-height: rem(48px);
width: 100%;
text-align: left;
border: 1px solid var(--border-color-default) !important;
Expand Down Expand Up @@ -47,7 +47,7 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 24px;
padding-right: rem(24px);
}

// float the label to top like a text input
Expand Down Expand Up @@ -81,6 +81,6 @@
.nds-dropdownTrigger-error {
.narmi-icon-x-circle::before {
position: relative;
top: 1px;
top: rem(1px);
}
}

0 comments on commit 71a92fb

Please sign in to comment.