Compare commits

..

1 Commits

Author SHA1 Message Date
605a4488ac fix(ui): resolve overlap between media item badges and sticky action bar
- Added z-index: 20 to .action-bar to ensure it stays above absolute-positioned badges (z-index: 10).
- Added position: relative to list items in plan and match modals to correctly contain badges.
- Ensured action bar has solid background to cover scrolling content.
2026-01-04 10:54:14 -07:00

View File

@ -300,6 +300,7 @@
border-bottom-right-radius: 12px;
display: flex;
gap: 8px;
z-index: 20;
}
/* Modal */
@ -574,6 +575,12 @@
.unlink-btn:hover {
background: #fee2e2;
}
/* Ensure plan list items contain their absolute children */
#details-content li,
#match-modal-text li {
position: relative;
}
</style>
</head>
@ -735,7 +742,7 @@
</p>
<button onclick="controller.generateSku()" class="btn btn-primary" style="width: auto;">Generate SKU</button>
</div>
<!-- Define Product Prompt -->
<div id="define-product-ui"
style="display:none; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding-top: 80px;">
@ -744,9 +751,9 @@
<p style="color: var(--text-secondary); max-width: 300px; margin-bottom: 24px; line-height: 1.5;">
Please define <strong>Product Type</strong> and <strong>Style</strong> to generate a SKU.
</p>
<div style="display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 400px; text-align: left;">
<!-- Title -->
<div>
<label
@ -755,7 +762,7 @@
<input id="input-product-title" type="text" placeholder="e.g. Vintage T-Shirt"
style="width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-surface); color: var(--text); font-size: 14px;">
</div>
<!-- Description -->
<div>
<label
@ -763,7 +770,7 @@
<textarea id="input-product-desc" rows="3" placeholder="Product details..."
style="width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-surface); color: var(--text); font-family: inherit; font-size: 14px; resize: vertical;"></textarea>
</div>
<div style="display: flex; gap: 16px;">
<!-- Type -->
<div style="flex: 1;">
@ -786,7 +793,7 @@
</select>
</div>
</div>
<div style="display: flex; gap: 12px; margin-top: 8px;">
<button id="btn-save-def" onclick="controller.saveProductDefinition()" class="btn btn-primary"
style="flex: 1;">Save & Generate SKU</button>