mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 19:47:49 +08:00
fix: prevent nested scrolling in words shortcut
This commit is contained in:
@@ -104,6 +104,21 @@ const bodyClasses = computed(() => [
|
||||
}
|
||||
|
||||
@media (max-width: 959.98px) {
|
||||
.words-shortcut-dialog-card {
|
||||
display: flex;
|
||||
overflow: hidden !important;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.words-shortcut-dialog-body {
|
||||
display: flex;
|
||||
overflow: hidden !important;
|
||||
flex: 1 1 auto;
|
||||
inline-size: 100%;
|
||||
min-block-size: 0;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.scheduler-shortcut-dialog-card--transparent {
|
||||
background: transparent !important;
|
||||
background-color: transparent !important;
|
||||
|
||||
@@ -81,6 +81,7 @@ export function useShortcutTools() {
|
||||
icon: 'mdi-file-word-box',
|
||||
dialog: 'words',
|
||||
bodyClass: 'words-shortcut-dialog-body pa-0',
|
||||
cardClass: 'words-shortcut-dialog-card',
|
||||
component: WordsView,
|
||||
maxWidth: '60rem',
|
||||
titleText: t('shortcut.words.subtitle'),
|
||||
|
||||
@@ -973,7 +973,9 @@ onMounted(() => {
|
||||
|
||||
@media (width <= 959.98px) {
|
||||
.words-view {
|
||||
block-size: calc(100dvh - 4rem - env(safe-area-inset-top));
|
||||
flex: 1 1 auto;
|
||||
block-size: 100%;
|
||||
min-block-size: 0;
|
||||
}
|
||||
|
||||
.words-workspace {
|
||||
|
||||
Reference in New Issue
Block a user