-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Table cells shouldn't use fixed pixel widths #4027
Comments
@maddisondesigns How did you end up with variable width columns? I don't see any corresponding controls: I can verify widths are included in the markup: |
@danielbachhuber I presume you found the answer to your question in my other issue that I raised (#4026). They're different sizes in my example, because the block doesn't work properly and resize the columns automatically. The fact that there's also no controls to help you resize columns is equally annoying. |
Indirectly, yes.
Yeah, weird behavior. |
Possibly related - while I wasn't getting pixel widths defined on the front end, the whole layout was messed up because there's |
I think this is fixed now. |
@maddisondesigns Have you tested in |
Closing as bringing into a master issue : #6923 |
Issue Overview
The html for the table block is using pixels for the width of the cells. You should never specify a width using a fixed number of pixels. It should be using percentages.
This just shows one of the many issues with using pixels widths to resize table cells...
Steps to Reproduce (for bugs)
Expected Behaviour
I would expect the table cell widths to be using percentages, not fixed pixel widths
Current Behaviour
Table html is using pixels to specify the width of the cells rather than percentages
Gutenberg 1.9.1
Firefox Quantum 57.0.1 (64-bit)
The text was updated successfully, but these errors were encountered: