Skip to content

Commit

Permalink
fix(FluidTextInput): label overflow scroll (#12261)
Browse files Browse the repository at this point in the history
* fix: label overflow

* fix(fluidtextinput): hide scrollbar on label overflow

Co-authored-by: Taylor Jones <taylor.jones826@gmail.com>
Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 31, 2022
1 parent c77cccf commit a4317a9
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,18 @@
top: rem(13px);
left: $spacing-05;
display: flex;
width: calc(100% - 2rem);
height: rem(16px);
align-items: center;
margin: 0;
-ms-overflow-style: none;
overflow-x: scroll;
scrollbar-width: none;
white-space: nowrap;
}

.#{$prefix}--text-input--fluid .#{$prefix}--label::-webkit-scrollbar {
display: none;
}

.#{$prefix}--text-input--fluid .#{$prefix}--form__helper-text {
Expand Down

0 comments on commit a4317a9

Please sign in to comment.