Fixed progress bar overflow with floating tooltip action

This commit is contained in:
2026-05-08 17:35:34 +02:00
parent 1af46c0fa3
commit 267b174931
2 changed files with 75 additions and 41 deletions
+29
View File
@@ -27,3 +27,32 @@ body {
margin: 0;
min-height: 100svh;
}
.tooltip-floating {
position: fixed;
z-index: 9999;
background: var(--surface);
color: var(--text);
border: 1px solid var(--border);
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
font-family: var(--sans);
font-size: 0.85rem;
font-weight: 400;
white-space: nowrap;
padding: 0.45em 0.9em;
border-radius: 8px;
pointer-events: none;
opacity: 0;
transform: translateY(4px);
transition: opacity 0.15s ease, transform 0.15s ease;
}
.tooltip-floating::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--border);
}