Skip to content

Commit dfbbded

Browse files
feat(Dropdown.jsx): Migrated to css, removed theme prop of d.ts and updated snapshots
1 parent cdd3c11 commit dfbbded

File tree

7 files changed

+381
-609
lines changed

7 files changed

+381
-609
lines changed

components/AutoComplete/AutoComplete.module.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:root {
2-
--max-items-visibility: 7;
3-
--item-height: 44px;
2+
--max-items-visibility-autocomplete: 7;
3+
--item-height-autocomplete: 44px;
44
--dropitem-font-size: calc(var(--qtm-base-font-size) * 0.875);
55
}
66

@@ -52,7 +52,7 @@
5252
border-radius: 4px;
5353
box-sizing: border-box;
5454
list-style: none;
55-
max-height: calc(var(--item-height) * var(--max-items-visibility));
55+
max-height: calc(var(--item-height-autocomplete) * var(--max-items-visibility-autocomplete));
5656
overflow: auto;
5757
padding: 0;
5858
position: absolute;
@@ -68,7 +68,7 @@
6868
justify-content: space-between;
6969
box-sizing: border-box;
7070
cursor: pointer;
71-
height: var(--item-height);
71+
height: var(--item-height-autocomplete);
7272
color: var(--qtm-colors-neutral-700);
7373
font-size: var(--dropitem-font-size);
7474
background-color: var(--qtm-colors-neutral-0);

0 commit comments

Comments
 (0)