Skip to content

Commit

Permalink
Try alternate approach.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Apr 21, 2021
1 parent 72f6457 commit 118c941
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@
.block-list-appender__toggle {
padding: 0;
opacity: 1;
transform: scale(1);
transition: all 0.1s ease;
@include reduce-motion("transition");

// Show one appender at a time.
display: none;
visibility: hidden;
transform: scale(0);
}
}

.block-editor-block-list__block.is-selected .block-list-appender .block-list-appender__toggle {
display: block;
visibility: visible;
transform: scale(1);
}

// For vertical flex containers, a 100% width ensures correct alignment.
Expand Down

0 comments on commit 118c941

Please sign in to comment.