Skip to content

Commit

Permalink
fix(Dropdown): remove extra space at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed Alsinan authored and tekno0ryder committed Oct 15, 2024
1 parent 756834c commit 82fd126
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/styles/scss/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,18 @@
/// @group dropdown
@mixin dropdown {
.#{$prefix}--dropdown__wrapper--inline {
display: inline-grid;
display: flex;
align-items: center;
grid-gap: 0 convert.to-rem(24px);
grid-template: auto auto / auto min-content;
gap: convert.to-rem(24px);

.#{$prefix}--label {
@include type-style('body-compact-01');
}

.#{$prefix}--label,
.#{$prefix}--form__helper-text,
.#{$prefix}--form-requirement {
.#{$prefix}--form__helper-text {
margin: 0;
}

.#{$prefix}--form-requirement {
grid-column: 2;
}
}

.#{$prefix}--dropdown {
Expand Down

0 comments on commit 82fd126

Please sign in to comment.