We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fa9865f + 188812f commit 7debb26Copy full SHA for 7debb26
1 file changed
src/sections/Community/Handbook/Handbook.style.js
@@ -208,7 +208,15 @@ export const HandbookWrapper = styled.div`
208
cursor: pointer;
209
padding: 0.2em;
210
}
211
+ input[type=checkbox] {
212
+ display: none;
213
+ }
214
215
+ /* Exception: keep checkbox visible inside .dark-theme-toggle */
216
+ .dark-theme-toggle input[type="checkbox"] {
217
+ display: inline-block;
218
219
+
220
input[type=checkbox] + label:before {
221
content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="white" viewBox="0 4 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');;
222
border: 0.1em solid #000;
0 commit comments