mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
Move sidebar y-axis overflow style to container (#236)
This commit is contained in:
@@ -15,23 +15,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</teleport>
|
</teleport>
|
||||||
<div v-if="!selectedTab"></div>
|
<div v-if="selectedTab" class="sidebar-content-container">
|
||||||
<component
|
<component v-if="selectedTab.type === 'vue'" :is="selectedTab.component" />
|
||||||
v-else-if="selectedTab.type === 'vue'"
|
<div
|
||||||
:is="selectedTab.component"
|
v-else
|
||||||
/>
|
:ref="
|
||||||
<div
|
(el) => {
|
||||||
v-else
|
if (el)
|
||||||
:ref="
|
mountCustomTab(
|
||||||
(el) => {
|
selectedTab as CustomSidebarTabExtension,
|
||||||
if (el)
|
el as HTMLElement
|
||||||
mountCustomTab(
|
)
|
||||||
selectedTab as CustomSidebarTabExtension,
|
}
|
||||||
el as HTMLElement
|
"
|
||||||
)
|
></div>
|
||||||
}
|
</div>
|
||||||
"
|
|
||||||
></div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
@@ -94,4 +92,9 @@ onBeforeUnmount(() => {
|
|||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar-content-container {
|
||||||
|
height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -168,9 +168,4 @@ onMounted(() => {
|
|||||||
.queue-time-cell-content {
|
.queue-time-cell-content {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.queue-table {
|
|
||||||
height: 100%;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user