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:
parent
7c67ae1ff5
commit
7c2ed96fab
1 changed files with 4 additions and 0 deletions
|
|
@ -275,6 +275,10 @@ main {
|
|||
.remove-btn { background: transparent; border-color: transparent; color: #d99; padding: 0.3rem 0.5rem; }
|
||||
.add-btn { font-size: 0.8rem; }
|
||||
|
||||
.build-log[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.build-log {
|
||||
position: fixed;
|
||||
inset: auto 1.5rem 1.5rem auto;
|
||||
|
|
|
|||
Loading…
Reference in a new issue