Skip to content

Commit

Permalink
feat(VDataTable): prevent overflow in mobile data tables
Browse files Browse the repository at this point in the history
Add a new class to the mobile data table to prevent overflow on small screens.

closes vuetifyjs#19781
  • Loading branch information
hridaya14 committed Nov 26, 2024
1 parent 54e430f commit d4d1adc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/vuetify/src/components/VDataTable/VDataTable.sass
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@
text-align: center

.v-data-table__tr--mobile

.v-data-table__td-value
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
max-width: 100%
width: 100%

> .v-data-table__td--expanded-row
grid-template-columns: 0
justify-content: center
Expand Down

0 comments on commit d4d1adc

Please sign in to comment.