Also disable form elements via CSS pointer-events when not in edit mode.
This lets us visually transition the controls without accidentally enabling interaction
This commit is contained in:
parent
c6dd37ed9e
commit
58283a601c
1 changed files with 4 additions and 0 deletions
|
@ -322,11 +322,15 @@ h1>input {
|
||||||
transform: translate(0, 65px);
|
transform: translate(0, 65px);
|
||||||
transition: transform 100ms;
|
transition: transform 100ms;
|
||||||
transition-timing-function: linear;
|
transition-timing-function: linear;
|
||||||
|
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit .editor-controls {
|
.edit .editor-controls {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
transition-timing-function: cubic-bezier(.17,.84,.44,1);
|
transition-timing-function: cubic-bezier(.17,.84,.44,1);
|
||||||
|
|
||||||
|
pointer-events: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-picker {
|
.theme-picker {
|
||||||
|
|
Loading…
Reference in a new issue