Skip to content

Commit 3664e16

Browse files
committed
Reserve scrollbar space on main screen to prevent jitter
1 parent ff3cdd4 commit 3664e16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/renderer/components/layouts/DefaultLayout.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const { hasComponent } = useRouteFeatures()
3939
</template>
4040
</SidebarLayout>
4141
<HeaderLayout />
42-
<v-main class="d-flex justify-center" scrollable>
42+
<v-main class="d-flex justify-center custom-scroll" scrollable>
4343
<v-container>
4444
<v-sheet>
4545
<router-view name="centralStage" />
@@ -58,4 +58,8 @@ const { hasComponent } = useRouteFeatures()
5858
.snack-span {
5959
word-break: break-word;
6060
}
61+
62+
.custom-scroll .v-main__scroller {
63+
overflow-y: scroll !important;
64+
}
6165
</style>

0 commit comments

Comments
 (0)