Fix build-log close button not hiding the panel

.build-log set display:flex unconditionally, which as an author rule
beat the browser's default [hidden]{display:none} (author styles always
win over user-agent styles regardless of the hidden attribute). Add an
explicit .build-log[hidden]{display:none} rule so closing the panel -
and its initial hidden state on page load - actually works.
This commit is contained in:
Pascal Scholz 2026-09-21 23:16:20 +02:00
parent 7c67ae1ff5
commit 7c2ed96fab

View file

@ -275,6 +275,10 @@ main {
.remove-btn { background: transparent; border-color: transparent; color: #d99; padding: 0.3rem 0.5rem; } .remove-btn { background: transparent; border-color: transparent; color: #d99; padding: 0.3rem 0.5rem; }
.add-btn { font-size: 0.8rem; } .add-btn { font-size: 0.8rem; }
.build-log[hidden] {
display: none;
}
.build-log { .build-log {
position: fixed; position: fixed;
inset: auto 1.5rem 1.5rem auto; inset: auto 1.5rem 1.5rem auto;