Skip to content

Commit

Permalink
fix: fix display none checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
matifandy8 committed Nov 10, 2023
1 parent 45afbff commit d289342
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -703,11 +703,11 @@ input.nb-checkbox {
padding: 10px;
margin: 0; }

input[type="checkbox"] {
#modal {
display: none; }

input[type="checkbox"]:checked ~ .modal,
input[type="checkbox"]:checked ~ .modal-background {
#modal:checked ~ .modal,
#modal:checked ~ .modal-background {
display: block; }

.modal-background {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neobrutalismcss",
"version": "0.3.7",
"version": "0.3.8",
"description": "NeoBrutalismCSS design framework that embraces the aesthetics of neo-brutalism in web",
"main": "dist/index.min.css",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions src/scss/components/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
input[type="checkbox"] {
#modal {
display: none;
}

input[type="checkbox"]:checked ~ .modal,
input[type="checkbox"]:checked ~ .modal-background {
#modal:checked ~ .modal,
#modal:checked ~ .modal-background {
display: block;
}

Expand Down

0 comments on commit d289342

Please sign in to comment.