Fix grid cell label and count: label below image, count as green text beside it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 01:23:27 +00:00
parent e1c517c023
commit 258f9b6491
2 changed files with 9 additions and 22 deletions

View File

@@ -1483,33 +1483,19 @@ nav {
}
.grid-cell-label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
gap: 0.3em;
font-size: 0.65rem;
color: #ccc;
color: var(--text-dim);
text-align: center;
font-family: var(--font-mono);
background: linear-gradient(transparent, rgba(0,0,0,0.7));
border-radius: 0 0 3px 3px;
padding: 6px 2px 2px;
pointer-events: none;
}
.grid-cell-count {
position: absolute;
top: 3px;
right: 3px;
background: #2e7d4f;
color: #fff;
font-size: 0.6rem;
color: #4caf50;
font-weight: 700;
font-family: var(--font-mono);
padding: 1px 5px;
border-radius: 8px;
pointer-events: none;
line-height: 1.5;
}
/* ===== GRID TYPE PILL ===== */