Skip to content
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

Button with alignment and width - not work as expected. #44385

Closed
NidhiDhandhukiya74 opened this issue Sep 22, 2022 · 2 comments
Closed

Button with alignment and width - not work as expected. #44385

NidhiDhandhukiya74 opened this issue Sep 22, 2022 · 2 comments

Comments

@NidhiDhandhukiya74
Copy link

Description

I can able to reproduce this issue with many wordpress themes so this is common issue.

Step-by-step reproduction instructions

  1. Choose button block.
  2. Give button width 75% or 50% etc.
  3. Give alignment to button.
    You can able to see that button is not taking any width if we choose alignment.

Screenshots, screen recording, code snippet

I have attached the video recording for better understanding.
Video URL :- https://share.cleanshot.com/VJnu2ZcAM6wMhrbukNQG

Environment info

  • wordpress version 6.0.2

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@annezazu
Copy link
Contributor

Hey there @NidhiDhandhukiya74! Thanks for opening this issue and pursuing a PR to address the same. This seems to be a duplicate of #39937. I'm going to close this out as a result and encourage you to share your findings on that prior issue. If I'm off-based, just let me know too and I'm happy to reopen :)

@annezazu
Copy link
Contributor

Just found this issue too! #44614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants