Question - font-weight 500 used for table headers #17203
Unanswered
MartinX3
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
font-weight
500
is used by the bold table headers in quarkus.However according to https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight a bold font needs to be at least
700
.In my case my tables don't have a bold font until I enforce a weight of
700
orbold
.I wonder why the examples have a bold header.
They also use
font-weight
500
.See https://quasar.dev/vue-components/markup-table
And the css classes of quarkus are also using
700
/bold
.See
text-bold
andtext-weight-bold
.But they are not used by the
q-table
which overwrites thefont-weight
with500
.Using
<q-markup-table class="text-bold text-weight-bold">
makes only thetbody
bold
since theq-table
class enforces500
onthead
.As a workaround I use
<th style="font-weight: bold">
Beta Was this translation helpful? Give feedback.
All reactions