görgetősávok Firefoxban eltüntetve

This commit is contained in:
Wiesner András 2021-01-20 23:42:20 +01:00
parent 626821ed9a
commit 24ce86c8f3
2 changed files with 8 additions and 0 deletions

View File

@ -530,6 +530,9 @@ function init_viewer() {
}, false);
window.addEventListener("resize", (e) => {
change_viewer_magnification(1, true);
change_viewer_offset({ x: 0, y: 0 }, true);
setTimeout(() => {
place_artcaptions();
}, 400);
@ -635,6 +638,7 @@ var viewer_open = false;
function open_viewer(details) {
let img = o("viewerimg");
img.style.opacity = "0";
img.style.left = img.style.top = "0px";
img.src = "ARTWORKS/published/" + details.Image_FileName;
// feliratok kiírása

View File

@ -19,6 +19,10 @@ body {
--DESC-COLOR: white;
background-color: var(--PAGE-BGCOLOR);
/*scrollbar-width: none;*/
}
html {
scrollbar-width: none;
}