mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
fix: unify overflow-y handling across multiple components and add utility class
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -86,3 +86,6 @@ body {
|
||||
height: fit-content !important;
|
||||
max-height: 70dvh !important;
|
||||
}
|
||||
.overflow-y-hidden {
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user