Skip to content

Commit

Permalink
fix: issue with hidden label for input datalist icon (#2878)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Jul 17, 2024
1 parent 05cbbf5 commit e3a6f38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ $icon-padding: calc(
--db-form-component-padding-inline-end: #{$icon-padding};
}

&[data-variant="hidden"] {
--db-label-visible-height: 0;
--db-label-visible-spacing: 1;
}

&:has(input[type="search"]) {
@include icons.set-icon("magnifying_glass");
@include icons.set-icon("cross_circle", "after");
Expand Down

0 comments on commit e3a6f38

Please sign in to comment.