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:
Jin Yi
2025-08-19 20:43:37 +09:00
parent 8d0a523ffd
commit 35f9a3d8cd

View File

@@ -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;
}