Skip to content

Commit

Permalink
Merge pull request #658 from danskernesdigitalebibliotek/fix/DDFLSBP-…
Browse files Browse the repository at this point in the history
…601-avanceret-sogning-dropdowns-benytter-forkerte-sogekoder

Update the Multiselect component [DDFLSBP-601]
  • Loading branch information
spaceo authored Jun 18, 2024
2 parents 6bb3acd + b41e529 commit f20ae31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/stories/Library/multiselect/Multiselect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ export const Multiselect: React.FC<MultiselectProps> = ({
<div className="multiselect__caption">Caption for multiselect</div>
)}
<div className="multiselect">
<div className="multiselect__selected">
Mulighed 1, Mulighed 2, Mulighed 3, Mulighed 4
</div>
<div className="multiselect__opener">
<ExpandMoreIcon className="multiselect__icon" />
</div>
<button type="button" className="multiselect">
<div className="multiselect__selected">
Mulighed 1, Mulighed 2, Mulighed 3, Mulighed 4
</div>
<div className="multiselect__opener">
<ExpandMoreIcon className="multiselect__icon" />
</div>
</button>
{isOpen && (
<ul className="multiselect__options">
{options.map((item, index) => (
Expand Down
1 change: 1 addition & 0 deletions src/stories/Library/multiselect/multiselect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
align-items: center;
flex-direction: row;
border: 1px solid $color__global-tertiary-1;
color: $color__global-grey;

&__selected {
@include typography($typo__button);
Expand Down

0 comments on commit f20ae31

Please sign in to comment.