Skip to content

Commit

Permalink
Polish alternating toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and George Hotelling committed Jul 2, 2020
1 parent d399d77 commit 240aa1a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 240aa1a

Please sign in to comment.