Skip to content

Commit 517e64a

Browse files
committed
fix(v-navigation-drawer): fix maxHeight value
1 parent da2f327 commit 517e64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/VNavigationDrawer/VNavigationDrawer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export default {
136136
return marginTop
137137
},
138138
maxHeight () {
139-
if (!this.hasApp) return '100%'
139+
if (!this.hasApp) return null
140140

141141
const maxHeight = (
142142
this.$vuetify.application.bottom +
@@ -175,7 +175,7 @@ export default {
175175
const styles = {
176176
height: convertToUnit(this.height),
177177
marginTop: `${this.marginTop}px`,
178-
maxHeight: `calc(100% - ${this.maxHeight}px)`,
178+
maxHeight: `calc(100% - ${+this.maxHeight}px)`,
179179
transform: `translateX(${this.calculatedTransform}px)`,
180180
width: `${this.calculatedWidth}px`
181181
}

0 commit comments

Comments
 (0)