fix: logo gallery dark toggle only affects image preview area
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Add explicit white background to gallery cards so only the inner image container changes to dark, keeping card borders, text and badges on their original light backgrounds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0d4eb034a0
commit
2b40c1e300
@ -433,6 +433,7 @@
|
||||
border-radius: var(--radius-lg);
|
||||
border: 3px solid transparent;
|
||||
transition: all 0.2s ease;
|
||||
background: white;
|
||||
}
|
||||
.logo-gallery-item:hover { border-color: #e5e7eb; background: #fafafa; }
|
||||
.logo-gallery-item.selected { border-color: #f59e0b; background: #fffbeb; }
|
||||
@ -448,9 +449,9 @@
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid #e5e7eb;
|
||||
transition: background 0.3s ease;
|
||||
transition: background 0.3s ease, border-color 0.3s ease;
|
||||
}
|
||||
.logo-gallery-grid.dark-preview .gallery-img {
|
||||
.logo-gallery-grid.dark-preview .logo-gallery-item .gallery-img {
|
||||
background: #1f2937;
|
||||
border-color: #374151;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user