Skip to content

Commit

Permalink
Customizer Widgets: Fix inserter button size and animation (#67880)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
  • Loading branch information
4 people authored Dec 13, 2024
1 parent 0b1a6b6 commit 6291232
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/customize-widgets/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,25 @@
border-radius: $radius-small;
color: $white;
padding: 0;
min-width: $grid-unit-30;
height: $grid-unit-30;
min-width: $grid-unit-40;
height: $grid-unit-40;
margin: $grid-unit-15 0 $grid-unit-15 auto;

&::before {
content: none;
}

svg {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
@include reduce-motion("transition");
}

&.is-pressed {
background: $gray-900;

svg {
transform: rotate(45deg);
}
}
}

Expand Down

0 comments on commit 6291232

Please sign in to comment.