fix(cookie-banner): .cookie-consent[hidden] display: none !important
All checks were successful
deploy / deploy (push) Successful in 57s
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:
@@ -580,6 +580,7 @@ pre {
|
||||
}
|
||||
|
||||
/* ============================== COOKIE CONSENT ============================== */
|
||||
.cookie-consent[hidden] { display: none !important; }
|
||||
.cookie-consent {
|
||||
position: fixed;
|
||||
left: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user