From 1a056659de31680844df6065e54483ad36e0dabc Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Fri, 17 Dec 2021 21:52:51 -0700 Subject: [PATCH] fix postModal body styling --- scripts/modal/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/modal/post.js b/scripts/modal/post.js index 4ddc2b5..e84085a 100755 --- a/scripts/modal/post.js +++ b/scripts/modal/post.js @@ -3,6 +3,6 @@ const transit = require("./transit"); module.exports = (id) => { document.getElementById('modal-block').remove(); window.kade.modal = false; - document.body.style.overflow = 'auto'; + document.body.style.overflowY = 'overlay'; transit(id, false); }; \ No newline at end of file