From 240aa1a54d36e2dfd3f6da460e71df4f0fc4c1c2 Mon Sep 17 00:00:00 2001 From: jasmussen <joen@automattic.com> Date: Mon, 29 Jun 2020 10:09:50 +0200 Subject: [PATCH] Polish alternating toggle --- .../jetpack-timeline/blocks/src/editor.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/full-site-editing/full-site-editing-plugin/jetpack-timeline/blocks/src/editor.scss b/apps/full-site-editing/full-site-editing-plugin/jetpack-timeline/blocks/src/editor.scss index 373500e28720c4..d010757ce7f83c 100644 --- a/apps/full-site-editing/full-site-editing-plugin/jetpack-timeline/blocks/src/editor.scss +++ b/apps/full-site-editing/full-site-editing-plugin/jetpack-timeline/blocks/src/editor.scss @@ -2,6 +2,11 @@ [data-type='jetpack/timeline'] { // Always show the Timeline appender, even when a child block is selected. + .block-list-appender { + display: none; + } + + &.is-selected .block-list-appender, &.has-child-selected .block-list-appender { display: block; } @@ -19,6 +24,9 @@ padding-left: 0; padding-right: 8px; + // Temporarily make this important. It can be retired once this custom appender is replaced with the real one. + animation: none !important; + &:hover { color: #fff; }