Skip to content

Commit

Permalink
fix: Dropdown disabled and empty styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Nov 1, 2023
1 parent 2acf247 commit 0cbc1e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
border-radius: 4px;
z-index: 5;
user-select: none;
max-height: 132px;
overflow-y: auto;
cursor: initial;
}
.DropdownContainer .Dropdown .DropdownOptions.searchable .DropdownSearch.TextField {
padding: 0px 7px 6px 7px;
Expand All @@ -85,6 +88,6 @@
.Dropdown
.DropdownOptions.searchable
.DropdownSearch.TextField
.input-container:not(.hovered):not(.focused) {
.InputContainer:not(.hovered):not(.focused) {
border-color: var(--base-12);
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const Dropdown: React.FC<Props> = (props) => {
/>
))
) : (
<Option label={empty} minWidth={minWidth} />
<Option label={empty} minWidth={minWidth} disabled />
)}
</div>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
width: 100%;
padding: 4px 8px;
color: var(--base-02);
cursor: pointer;
}

.OptionContainer:last-child {
Expand All @@ -26,7 +27,6 @@
align-items: center;
height: 100%;
gap: 4px;
cursor: pointer;
}

.OptionContainer .Option {
Expand Down

0 comments on commit 0cbc1e4

Please sign in to comment.