mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-19 01:44:58 +00:00
Fixing up some CSS
This commit is contained in:
parent
d8b20c9b34
commit
bf449271e6
6 changed files with 34 additions and 18 deletions
|
@ -8,6 +8,8 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
function flyoutShow(header, description, actionbox) {
|
||||
// Hide overflow
|
||||
document.querySelector("html").style.overflow = "hidden";
|
||||
// Checking if actionbox is set
|
||||
if (typeof actionbox === 'undefined') {
|
||||
flyoutActionbox.style.display = "none";
|
||||
|
@ -36,6 +38,8 @@ function flyoutShow(header, description, actionbox) {
|
|||
};
|
||||
|
||||
function flyoutClose() {
|
||||
// Show overflow
|
||||
document.querySelector("html").style.overflow = "auto";
|
||||
// Hide the flyout
|
||||
flyoutRoot.style.transform = "translateX(-50%) scale(0.5)";
|
||||
flyoutRoot.style.bottom = "-20rem";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue