mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 23:04:06 +00:00
fix: resolve breadcrumb and workflow tabs layout conflict
- Fix flex properties to prevent excessive shrinking of breadcrumb - Use explicit flex: 1 1 auto instead of flex: auto for clarity - Add z-index to ensure proper layering - Remove extreme flex-shrink value (10000) that caused layout instability - Ensure consistent layout on initial load and after refresh This fixes the issue where workflow tabs appeared under the breadcrumb on initial load and only positioned correctly after page refresh. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div
|
||||
class="subgraph-breadcrumb w-auto"
|
||||
class="subgraph-breadcrumb w-auto relative z-10"
|
||||
:class="{
|
||||
'subgraph-breadcrumb-collapse': collapseTabs,
|
||||
'subgraph-breadcrumb-overflow': overflowingTabs
|
||||
@@ -157,8 +157,7 @@ onUpdated(() => {
|
||||
|
||||
<style scoped>
|
||||
.subgraph-breadcrumb:not(:empty) {
|
||||
flex: auto;
|
||||
flex-shrink: 10000;
|
||||
flex: 1 1 auto;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user