fix: drawer width

This commit is contained in:
puriphatt 2024-04-23 04:31:58 +00:00
parent 34c7b1c65f
commit ded20e65bb
2 changed files with 11 additions and 5 deletions

View file

@ -33,7 +33,17 @@ function reset() {
<q-drawer
@before-hide="reset"
@hide="close"
:breakpoint="1366"
:width="
$q.screen.gt.xs
? $q.screen.gt.sm
? $q.screen.gt.md
? $q.screen.gt.lg
? 1400
: 1200
: 1000
: 700
: 510
"
v-model="drawerOpen"
behavior="mobile"
side="right"

View file

@ -77,10 +77,6 @@ html {
transition: 100ms background ease-in-out;
}
aside.q-drawer.q-drawer--right.fixed.q-drawer--on-top.q-drawer--mobile.q-drawer--top-padding {
width: 85% !important;
}
.bordered {
border: 1px solid var(--border-color);
}