Skip to content

Commit

Permalink
feat(QSelect): Adjust CSS for QSelect with chips
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed May 4, 2023
1 parent e638fce commit 9a83281
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ui/src/components/select/QSelect.sass
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@
.q-field__control
cursor: text

&--with-chips
.q-field__input
margin: 7px 0

&.q-field--labeled
.q-field__native
margin-top: -6px
padding-bottom: 0

&.q-field--dense
.q-chip--dense
margin: 1px 4px
height: 20px

.q-field__input
margin: 0

&.q-field--labeled
.q-field__native
margin-top: 0

.q-field__input
min-width: 50px !important
cursor: text
Expand Down
21 changes: 21 additions & 0 deletions ui/src/components/select/QSelect.styl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@
.q-field__control
cursor: text

&--with-chips
.q-field__input
margin: 7px 0

&.q-field--labeled
.q-field__native
margin-top: -6px
padding-bottom: 0

&.q-field--dense
.q-chip--dense
margin: 1px 4px
height: 20px

.q-field__input
margin: 0

&.q-field--labeled
.q-field__native
margin-top: 0

.q-field__input
min-width: 50px !important
cursor: text
Expand Down

0 comments on commit 9a83281

Please sign in to comment.