mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 00:34:09 +00:00
Fix template dialog double scrollbar (#2896)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div
|
||||
class="flex flex-col h-[83vh] w-[90vw] relative"
|
||||
class="flex flex-col h-[83vh] w-[90vw] relative pb-6"
|
||||
data-testid="template-workflows-content"
|
||||
>
|
||||
<Button
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ScrollPanel class="w-80" style="height: calc(85vh - 48px)">
|
||||
<ScrollPanel class="w-80" style="height: calc(83vh - 48px)">
|
||||
<Listbox
|
||||
:model-value="selectedTab"
|
||||
@update:model-value="handleTabSelection"
|
||||
|
||||
@@ -84,7 +84,7 @@ export const useDialogService = () => {
|
||||
headerComponent: TemplateWorkflowsDialogHeader,
|
||||
dialogComponentProps: {
|
||||
pt: {
|
||||
content: { class: '!px-0' }
|
||||
content: { class: '!px-0 overflow-y-hidden' }
|
||||
}
|
||||
},
|
||||
props
|
||||
|
||||
Reference in New Issue
Block a user