Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix editor sidebar buttons to use 40px defualt size
  • Loading branch information
hbhalodia authored and mirka committed Sep 25, 2024
commit 752d3a2a4827f71ce3171c45923353ddb5475d3a
3 changes: 1 addition & 2 deletions packages/edit-site/src/components/sidebar-button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import { Button } from '@wordpress/components';
export default function SidebarButton( props ) {
return (
<Button
// TODO: Switch to `true` (40px size) if possible
__next40pxDefaultSize={ false }
__next40pxDefaultSize
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This can be seen when you visit, site-editor --> and check for icon button in sidebar panel.

Before After
Editor-sidebar-button-before Editor-sidebar-button-after

{ ...props }
className={ clsx( 'edit-site-sidebar-button', props.className ) }
/>
Expand Down