mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
prevent scrolling while gallery is open +
firefox52/winxp: fix gridview margins
This commit is contained in:
parent
fbfdd8338b
commit
7f1c992601
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue