Last active
April 16, 2021 09:46
-
-
Save olafkrueger/f5c44efe5aaa60bb330729aca2e8f013 to your computer and use it in GitHub Desktop.
[Vuetify NavDrawer] Setting mini-variant paired with expand-on-hover from false to true does not resize v-app-bar and v-main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<v-app app> | |
<v-app-bar app> | |
<v-app-bar-title>Title</v-app-bar-title> | |
</v-app-bar> | |
<v-navigation-drawer | |
v-model="showDrawer" | |
app | |
:expand-on-hover="miniVariant" | |
:mini-variant="miniVariant" | |
color="purple" | |
> | |
<v-list-item> | |
<v-checkbox v-model="miniVariant" color="white" /> | |
</v-list-item> | |
</v-navigation-drawer> | |
<v-main> </v-main> | |
</v-app> | |
</template> | |
<script> | |
export default { | |
data() { | |
return { | |
showDrawer: true, | |
miniVariant: true, | |
}; | |
}, | |
}; | |
</script> |
Author
olafkrueger
commented
Apr 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment