-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QSelect text is not vertically centered #12031
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
Qv1
Comments
github-actions
bot
added
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
labels
Jan 13, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
pdanpdan
added a commit
to pdanpdan/quasar
that referenced
this issue
Jan 14, 2022
rstoenescu
pushed a commit
that referenced
this issue
Jan 15, 2022
Fix will be available in Quasar v2.4.10 & v1.17.5 |
rstoenescu
pushed a commit
that referenced
this issue
Jan 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-webpack
kind/bug 🐞
Qv1
What happened?
The text within a QSelect is not vertically centered.
What did you expect to happen?
The text is to be vertically centered.
Reproduction URL
https://codepen.io/Hawkeye64/pen/abLPVmL
How to reproduce?
Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome
Quasar info output
Relevant log output
No response
Additional context
There is a
<div>
containing these classes: "q-field__native row items-center"Inside this
<div>
is a<span>
, containing the text, and another<div>
, containing "role" and a lot of "aria-*" attributes.The second
<div>
is 0x0 in width/height, but the flex doesn't care about that, so it appears it is splitting into two partitions and the second one is wrapping.<div>
, then everything works out.<div>
, then everything works out.class="no-wrap"
to the QSelect nothing happens.class="q-select--nowrap"
and target CSS with this:It works but seems to be a bit tedious.
To verify it wasn't the QMarkupTable interfering in some way, here is another CodePen without it showing the same issue: https://codepen.io/Hawkeye64/pen/BawvJWp?editors=1010
The text was updated successfully, but these errors were encountered: