fix(cookie-banner): .cookie-consent[hidden] display: none !important
All checks were successful
deploy / deploy (push) Successful in 57s

Кнопка "Принять" не работала визуально: JS-handler срабатывал и устанавливал
banner.hidden=true, но CSS-правило .cookie-consent { display: flex } имело
ту же specificity (10) что UA stylesheet [hidden] { display: none } —
последняя из загруженных побеждала, и баннер не скрывался.
This commit is contained in:
Dmitry Gusev
2026-05-24 01:03:51 +03:00
parent 2cbd1358d2
commit 04b405ea2e

View File

@@ -580,6 +580,7 @@ pre {
}
/* ============================== COOKIE CONSENT ============================== */
.cookie-consent[hidden] { display: none !important; }
.cookie-consent {
position: fixed;
left: 1rem;