Skip to content
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

fix(VDataTable): mobile header title font weight #19742

Conversation

webdevnerdstuff
Copy link
Contributor

@webdevnerdstuff webdevnerdstuff commented May 2, 2024

Description

Using VTable $table-header-font-weight variable

FIxes: #19737

Markup:

@use '../VTable/variables' as VTable

.v-data-table__td-title
    font-weight: VTable.$table-header-font-weight

@webdevnerdstuff webdevnerdstuff changed the title fix mobile header title font weight fix(VDataTable): mobile header title font weight May 2, 2024
@webdevnerdstuff webdevnerdstuff marked this pull request as ready for review May 2, 2024 23:27
@johnleider johnleider added this to the v3.6.x milestone May 7, 2024
@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VDataTable VDatatable labels May 7, 2024
@johnleider johnleider merged commit c4b33c0 into vuetifyjs:master May 7, 2024
10 checks passed
@rauhur
Copy link

rauhur commented May 8, 2024

Now both headers have the same origin for font-weight, but this is set to 500, which makes the headers no different from the cells.

Is it possible to change: $table-header-font-weight: 500 !default; to $table-header-font-weight: 700 !default; or is there a way to change by slots or properties of the header?

@webdevnerdstuff
Copy link
Contributor Author

I am not part of the Vuetify team, if you need help I suggest joining the Discord channel or StackOverflow and asking there.

https://community.vuetifyjs.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable VDatatable T: bug Functionality that does not work as intended/expected
Projects
None yet
3 participants