Skip to content

Commit

Permalink
Merge pull request #592 from catho/QTM-712
Browse files Browse the repository at this point in the history
feat(Dropdown.jsx): Migrated to css, removed theme prop of d.ts and u…
  • Loading branch information
MarcosViniciusPC authored Oct 15, 2024
2 parents cdd3c11 + dfbbded commit 0c79e9f
Show file tree
Hide file tree
Showing 7 changed files with 381 additions and 609 deletions.
8 changes: 4 additions & 4 deletions components/AutoComplete/AutoComplete.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:root {
--max-items-visibility: 7;
--item-height: 44px;
--max-items-visibility-autocomplete: 7;
--item-height-autocomplete: 44px;
--dropitem-font-size: calc(var(--qtm-base-font-size) * 0.875);
}

Expand Down Expand Up @@ -52,7 +52,7 @@
border-radius: 4px;
box-sizing: border-box;
list-style: none;
max-height: calc(var(--item-height) * var(--max-items-visibility));
max-height: calc(var(--item-height-autocomplete) * var(--max-items-visibility-autocomplete));
overflow: auto;
padding: 0;
position: absolute;
Expand All @@ -68,7 +68,7 @@
justify-content: space-between;
box-sizing: border-box;
cursor: pointer;
height: var(--item-height);
height: var(--item-height-autocomplete);
color: var(--qtm-colors-neutral-700);
font-size: var(--dropitem-font-size);
background-color: var(--qtm-colors-neutral-0);
Expand Down
Loading

0 comments on commit 0c79e9f

Please sign in to comment.