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 data views create new views buttons to use 40px default size
  • Loading branch information
hbhalodia authored and mirka committed Sep 25, 2024
commit 2cc7851acd603e3f5acc62c0d6eea853d62544c7
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ function AddNewItemModalContent( { type, setIsAdding } ) {
/>
<HStack justify="right">
<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 add a custom data view and click on add new.

Before After
View-before view-after

variant="tertiary"
onClick={ () => {
setIsAdding( false );
Expand All @@ -99,8 +98,7 @@ function AddNewItemModalContent( { type, setIsAdding } ) {
</Button>

<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 add a custom data view and click on add new.

Before After
View-before view-after

variant="primary"
type="submit"
aria-disabled={ ! title || isSaving }
Expand Down