Skip to content

Commit

Permalink
Site Editor: Fix site icon animation (WordPress#60419)
Browse files Browse the repository at this point in the history
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
  • Loading branch information
3 people authored and cbravobernal committed Apr 9, 2024
1 parent 71d6cea commit 3dd8fcf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 0 additions & 5 deletions packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,6 @@
justify-content: center;
border-bottom: 1px solid transparent;

.edit-site-layout.is-full-canvas & {
border-bottom-color: $gray-200;
transition: border-bottom-color 0.15s 0.4s ease-out;
}

&:hover,
&:active {
color: $white;
Expand Down
7 changes: 5 additions & 2 deletions packages/edit-site/src/components/site-hub/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
height: $header-height;
width: $header-height;
flex-shrink: 0;
background: $gray-900;

&.has-transparent-background {
.edit-site-layout__view-mode-toggle-icon {
background: $gray-900;
}

&.has-transparent-background .edit-site-layout__view-mode-toggle-icon {
background: transparent;
}
}
Expand Down

0 comments on commit 3dd8fcf

Please sign in to comment.