Skip to content

Commit

Permalink
Fix scrollbars for Windows browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
CoDinAIy committed Dec 17, 2024
1 parent 1d69f30 commit be104d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/VModal/VModalContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,6 @@ by the address bar.
}
.modal-content {
max-height: calc(100vh - var(--modal-header-height, 0) - 6rem);
overflow-y: scroll;
overflow-y: auto;
}
</style>
2 changes: 1 addition & 1 deletion frontend/src/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defineOptions({
class="app h-dyn-screen grid grid-cols-1 grid-rows-[auto,1fr] flex-col bg-complementary dark:bg-default"
>
<VHeader class="header-el" kind="internal" color="complementary" />
<div class="main-content flex flex-grow flex-col overflow-y-scroll">
<div class="main-content flex flex-grow flex-col overflow-y-auto">
<slot class="flex-grow" />
<VFooter mode="internal" class="bg-complementary dark:bg-default" />
</div>
Expand Down

0 comments on commit be104d1

Please sign in to comment.