-
Notifications
You must be signed in to change notification settings - Fork 48
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
Optimize material table in small container #3894
Optimize material table in small container #3894
Conversation
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the most part, this is a simple change away from the $vuetify.breakpoint
to use the clientWidth <= 710
as a check.
variant
is a string representation of that check.
I am assuming clientWidth
is the with of the component rather than the entire window, which would be nice but maybe I misunderstood something.
@DeNic0la clientWidth is the width of the element. |
Automatically use the dense version of the MaterialTable if not enough space is available for default table mode instead of list mode.
Same code as in Storyboard.vue