some minor changes to help customcss move postform

merge-requests/208/head
fatchan 4 years ago
parent 7391efd05f
commit 73ca8a40b7
  1. 2
      gulp/res/css/style.css
  2. 1
      gulp/res/js/dragable.js

@ -910,7 +910,7 @@ input[type="file"] {
max-width: calc(100% - 10px); max-width: calc(100% - 10px);
max-height: calc(100% - 50px); max-height: calc(100% - 50px);
position: fixed; position: fixed;
top: 3em; top: 3.5em;
right: 5px; right: 5px;
background-color: var(--post-color); background-color: var(--post-color);
z-index: 2; z-index: 2;

@ -101,6 +101,7 @@ class Dragable {
default: default:
break; break;
} }
this.target.style.bottom = 'unset';
setLocalStorage('dragtop', this.target.style.top); setLocalStorage('dragtop', this.target.style.top);
setLocalStorage('dragleft', this.target.style.left); setLocalStorage('dragleft', this.target.style.left);
} }

Loading…
Cancel
Save