Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Introduce dropdown__select--inline-body-font modifier class
Browse files Browse the repository at this point in the history
For dropdowns with larger font than the ones used in the facet line.
  • Loading branch information
Adamik10 committed Aug 31, 2023
1 parent b93b4eb commit ccd1d55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/stories/Library/dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@
min-width: 200px;
}

.dropdown__select--inline-body-font {
@extend %text-body-medium-regular-placeholder;
height: 100%;
padding: $s-sm $s-md;
min-width: 200px;
}

.dropdown__arrows--inline {
height: 100%;
}
4 changes: 2 additions & 2 deletions src/stories/Library/input-with-dropdown/InputWithDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const InputWithDropdown: React.FC<InputWithDropdownProps> = ({
arrowIcon="chevron"
classNames="dropdown--grey-borders input-with-dropdown__dropdown"
innerClassNames={{
select: "dropdown__select--inline focus-styling",
arrowWrapper: "dropdown__arrows--inline ",
select: "dropdown__select--inline-body-font focus-styling",
arrowWrapper: "dropdown__arrows--inline",
}}
/>
<button>
Expand Down

0 comments on commit ccd1d55

Please sign in to comment.