prevent scrolling while gallery is open +

firefox52/winxp: fix gridview margins
This commit is contained in:
ed 2024-02-18 14:50:59 +00:00
parent fbfdd8338b
commit 7f1c992601
2 changed files with 3 additions and 1 deletions

View file

@ -3142,7 +3142,7 @@ html.d #treepar {
margin-top: 1.7em;
}
}
@supports (display: grid) {
@supports (display: grid) and (gap: 1em) {
#ggrid {
display: grid;
margin: 0em 0.25em;

View file

@ -4882,6 +4882,7 @@ var thegrid = (function () {
duringHide: r.onhide,
afterShow: function () {
r.bbox_opts.refocus = true;
document.body.style.overflow = 'hidden';
},
captions: function (g) {
var idx = -1,
@ -4904,6 +4905,7 @@ var thegrid = (function () {
};
r.onhide = function () {
document.body.style.overflow = '';
if (!thegrid.ihop)
return;