Skip to content

Commit

Permalink
Block settings: Update variant of "Apply globally" Button component t…
Browse files Browse the repository at this point in the history
…o secondary (#61850)

* Update variant of Apply globally Button component in PushChangesToGlobalStylesControl

* Add __next40pxDefaultSize prop to Apply globally Button

Co-authored-by: amitraj2203 <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: annezazu <[email protected]>
  • Loading branch information
5 people authored May 23, 2024
1 parent 4da057e commit f49e0b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ function PushChangesToGlobalStylesControl( {
{ __( 'Styles' ) }
</BaseControl.VisualLabel>
<Button
variant="primary"
__next40pxDefaultSize
variant="secondary"
disabled={ changes.length === 0 }
onClick={ pushChanges }
>
Expand Down

1 comment on commit f49e0b5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in f49e0b5.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https:/WordPress/gutenberg/actions/runs/9207207167
📝 Reported issues:

Please sign in to comment.