fix: unify overflow-y handling across multiple components and add utility class

This commit is contained in:
zurdi
2025-06-18 16:22:19 +00:00
parent 7b49b6f781
commit 5bbb04bace
6 changed files with 8 additions and 10 deletions

View File

@@ -51,9 +51,8 @@ function onHover(emitData: { isHovering: boolean; id: number }) {
<template #content>
<v-row
:class="{ 'flex-nowrap overflow-x-auto': !gridCollections }"
class="py-1"
class="py-1 overflow-y-hidden"
no-gutters
style="overflow-y: hidden"
>
<v-col
v-for="collection in collections.allCollections"

View File

@@ -67,9 +67,8 @@ function onClosedMenu() {
<template #content>
<v-row
:class="{ 'flex-nowrap overflow-x-auto': !gridContinuePlayingRoms }"
class="py-1"
class="py-1 overflow-y-hidden"
no-gutters
style="overflow-y: hidden"
>
<v-col
v-for="rom in continuePlayingRoms"

View File

@@ -52,9 +52,8 @@ function onHover(emitData: { isHovering: boolean; id: number }) {
<template #content>
<v-row
:class="{ 'flex-nowrap overflow-x-auto': !gridPlatforms }"
class="py-1"
class="py-1 overflow-y-hidden"
no-gutters
style="overflow-y: hidden"
>
<v-col
v-for="platform in filledPlatforms"

View File

@@ -65,9 +65,8 @@ function onClosedMenu() {
<template #content>
<v-row
:class="{ 'flex-nowrap overflow-x-auto': !gridRecentRoms }"
class="py-1"
class="py-1 overflow-y-hidden"
no-gutters
style="overflow-y: hidden"
>
<v-col
v-for="rom in recentRoms"

View File

@@ -72,9 +72,8 @@ onBeforeUnmount(() => {
<template #content>
<v-row
:class="{ 'flex-nowrap overflow-x-auto': !gridVirtualCollections }"
class="py-1"
class="py-1 overflow-y-hidden"
no-gutters
style="overflow-y: hidden"
>
<v-col
v-for="collection in collections.virtualCollections.slice(

View File

@@ -86,3 +86,6 @@ body {
height: fit-content !important;
max-height: 70dvh !important;
}
.overflow-y-hidden {
overflow-y: hidden !important;
}