Skip to content

Commit 71e0fa4

Browse files
CSS formatting
1 parent e48a373 commit 71e0fa4

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

public/css/MainLayout.css

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,28 +68,28 @@ search {
6868
inline-size: 100%;
6969
margin-block-end: 20px;
7070

71-
&>hr {
71+
& > hr {
7272
border-color: var(--tooltip-border);
7373
margin-block: 0;
7474
}
7575

76-
&>label {
76+
& > label {
7777
display: flex;
7878
justify-content: flex-start;
7979
align-items: center;
8080
gap: 10px;
8181
inline-size: 100%;
8282
block-size: 50px;
8383

84-
&:has(input:focus)>svg {
84+
&:has(input:focus) > svg {
8585
display: none;
8686
}
8787

88-
&>svg {
88+
& > svg {
8989
margin-inline-start: 10px;
9090
}
9191

92-
&>input {
92+
& > input {
9393
opacity: 0;
9494
border: none;
9595
block-size: 100%;
@@ -103,7 +103,6 @@ search {
103103
}
104104
}
105105
}
106-
107106
}
108107

109108
@media only screen and (max-width: 768px) {
@@ -115,12 +114,12 @@ search {
115114
overflow: visible;
116115
}
117116

118-
#menuToggle~.panelContents {
117+
#menuToggle ~ .panelContents {
119118
max-height: 0;
120119
overflow: hidden;
121120
}
122121

123-
#menuToggle:checked~.panelContents {
122+
#menuToggle:checked ~ .panelContents {
124123
max-height: 2000px;
125124
}
126125

@@ -139,5 +138,4 @@ search {
139138
.expand {
140139
display: inline-block;
141140
}
142-
143-
}
141+
}

0 commit comments

Comments
 (0)