From 73ca8a40b743e2f4a8fcd6148a6a5e2490d8190a Mon Sep 17 00:00:00 2001 From: fatchan Date: Sat, 11 Apr 2020 14:38:56 +1000 Subject: [PATCH] some minor changes to help customcss move postform --- gulp/res/css/style.css | 2 +- gulp/res/js/dragable.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index 46aaa8bb..a723d74a 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -910,7 +910,7 @@ input[type="file"] { max-width: calc(100% - 10px); max-height: calc(100% - 50px); position: fixed; - top: 3em; + top: 3.5em; right: 5px; background-color: var(--post-color); z-index: 2; diff --git a/gulp/res/js/dragable.js b/gulp/res/js/dragable.js index aac4dbfd..2a2b5ea9 100644 --- a/gulp/res/js/dragable.js +++ b/gulp/res/js/dragable.js @@ -101,6 +101,7 @@ class Dragable { default: break; } + this.target.style.bottom = 'unset'; setLocalStorage('dragtop', this.target.style.top); setLocalStorage('dragleft', this.target.style.left); }