Skip to content

Commit

Permalink
[TASK] Build CSS/ JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
deoostfrees committed Mar 15, 2024
1 parent c5a560d commit d5b0d4f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/css/parvus.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
--parvus-loader-color: hsl(228deg 24% 23%);
}

.parvus-is-open {
body:has(.parvus[aria-hidden=false]) {
touch-action: none;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/css/parvus.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/js/parvus.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ function Parvus(userOptions) {
fire('open', {
source: el
});
document.body.classList.add('parvus-is-open');
};

/**
Expand Down Expand Up @@ -541,7 +540,6 @@ function Parvus(userOptions) {
source: GROUPS[activeGroup].triggerElements[currentIndex]
}
});
document.body.classList.remove('parvus-is-open');
};

/**
Expand Down
Loading

0 comments on commit d5b0d4f

Please sign in to comment.