-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix: Button Replace remaining 40px default size violations [Block Editor 3] #65225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
70ec0f7
Fix: Global Styles component to use 40px default size.
vipul0425 631a42c
Fix: Block variation picket to use 40px default size.
vipul0425 36d6a70
Fix: Block variation transform to use 40px default size.
vipul0425 670cca8
Fix: color gradient dropdown and block appender button to use 40px de…
vipul0425 913f90c
fix: shadowpanel clear button
vipul0425 e7b1615
Merge branch 'trunk' of github.com:WordPress/gutenberg into feat/issu…
vipul0425 bb9545f
fix: Button Block appender issues.
vipul0425 c452baa
fix: Coverts shadow panel Buttons to normal html buttons.
vipul0425 c8c0e5d
Update packages/block-library/src/group/editor.scss
vipul0425 00da47a
Update packages/block-library/src/group/editor.scss
vipul0425 9d3d8ac
feat: Add tootlip tu shadow button.
vipul0425 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix: Block variation transform to use 40px default size.
- Loading branch information
commit 36d6a702fa707ecca4a6d68d57b6bbc9ea543a67
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this one. I think it should be more like ToggleGroupControl. IE the outer container is
40px, while the inner buttons are32px(compactsize).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jameskoster what about just using a ToggleGroupControl?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The visible stroke in the resting state would create additional weight that is probably unwanted in this UI.
We have an issue to explore the
ToggleGroupControldesign here, which might make it appropriate for use in its vanilla state if implemented.But until then the simpler approach is probably to just make these buttons
compact(32px).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated it to use compact size.