q-select: Add a prop to reduce the height when the label is not displayed #13411
Unanswered
zeodtr
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to reduce the height of q-select.
I've removed the label by setting
labelprop toundefined, but q-select's height remains the same.Even with
denseprop set to true, it is too tall for me (The result height is 40px).I've managed to reduce the height of q-select by applying the following scss. But I think it is a hack, since it uses the undocumented css classes.
It would be nice if the height could be reduced by a prop.
BTW, I've looked at the source code of quasar, and found that the height is kind of hard-coded.
https://github.com/quasarframework/quasar/blob/dev/ui/src/components/field/QField.sass
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions