Open Shayan-To opened 2 years ago
Have you tried to apply full-width
CSS class to the button? It works on your CodePen.
@gregadro Not if you have non-zero left
and right
. Updated the reproduction URL.
@pdanpdan Well, adding min-width: -moz-available
fixes the problem on Firefox, but the problem still remains on Microsoft Edge (and probably Chrome, as they are both Chromium).
Here's link to the version with min-width: -moz-available
: https://jsfiddle.net/jfmb8yn3/
What version of chrome/edge, on what os?
Microsoft Edge Version 94.0.992.50 (Official build) (64-bit) Windows 10 Pro 21H1 Build 19043.1387
The latest Chrome(98.0.4758.102) and Edge(98.0.1108.56 ) on the Linux Zorin distro works even without min-width property.
Here's an screenshot of my Edge: (I just opened the link from my previous comment.)
Does Quasar only support latest Chrome and Edge only on Linux Zorin distro?
What happened?
I'm absolutely positioning a
q-btn
with bothleft
andright
set. It happens that for some reason,button
tag does not work when bothleft
andright
are set (tested on both Firefox and Edge), and it will just sit on the left (and won't stretch). Changing just the tag todiv
will fix the problem.I read the source for
q-btn
and there is no way to change the tag, other than setting one of the link props, which change it toa
.What did you expect to happen?
I want some way to change the tag of a
q-btn
todiv
. No way exists currently.Reproduction URL
https://jsfiddle.net/zhmwj3o0/
How to reproduce?
tag=div
does not work.Flavour
Quasar CLI (@quasar/cli | @quasar/app)
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome, Microsoft Edge
Quasar info output
Relevant log output
No response
Additional context
No response