From a00cdf6394fdbb1048a6a000033f6f5ef20a1de9 Mon Sep 17 00:00:00 2001 From: Magnus Hovland Hoff Date: Sun, 16 Sep 2018 12:10:02 +0200 Subject: [PATCH] Position editor controls with units that are affected by the scroll bar --- assets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 82665be..a465271 100644 --- a/assets/style.css +++ b/assets/style.css @@ -383,9 +383,9 @@ h1>input { border-radius: 2px; position: fixed; - left: calc(50vw + 320px); + left: calc(50% + 320px); width: 140px; - top: calc(50vh - 55px); + top: calc(50% - 55px); height: 110px; padding: 10px;