Skip to content

Commit

Permalink
fix(theme): allow selectfield to not be searchable
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Nov 28, 2022
1 parent 6a07901 commit aa7fa9e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/theme/lib/SelectField.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
opacity: .5

.field
&, & .icon.remove, & .icons .icon.remove
&, & input, & .icon.remove, & .icons .icon.remove
cursor: default

&:focus-within,
Expand All @@ -39,6 +39,13 @@
.field
padding: 10px 50px 10px 10px

&.searchable.empty
.field
cursor: text

input
cursor: text

.field
display: flex
border-radius: 4px
Expand All @@ -49,14 +56,15 @@
flex-wrap: wrap
gap: 10px
width: 100%
cursor: text
cursor: default

input
border: none
outline: none
display: block
background: transparent
padding: 0
cursor: default

&::placeholder
color: var(--placeholder-color)
Expand Down

0 comments on commit aa7fa9e

Please sign in to comment.