From 58283a601c0e569ed6009d0fb9b043a35e6437e7 Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Sun, 30 Sep 2018 22:33:40 +0200 Subject: [PATCH] Also disable form elements via CSS pointer-events when not in edit mode. This lets us visually transition the controls without accidentally enabling interaction --- assets/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/style.css b/assets/style.css index 9ff6081..62102a9 100644 --- a/assets/style.css +++ b/assets/style.css @@ -322,11 +322,15 @@ h1>input { transform: translate(0, 65px); transition: transform 100ms; transition-timing-function: linear; + + pointer-events: none; } .edit .editor-controls { transform: translate(0, 0); transition-timing-function: cubic-bezier(.17,.84,.44,1); + + pointer-events: unset; } .theme-picker {