List View: focus style is cut off in the Site Editor #69189
Labels
[Feature] List View
Menu item in the top toolbar to select blocks from a list of links.
[Package] Block editor
/packages/block-editor
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
In the List View, the focus style looks different between Post editor and Site editor. In the Site editor, it may be cut-off.
To my understanding there's two CSS issues:
1
Each row is made of two table cells
<td>
elements. In the Site editor, the second cell may not have a dropdown menu toggle button and the cell is empty. Thw width of the cell needs to be 28 pixels even when it's empty.2
Even after the width issue is fixed, the focus style of the templates (the one that uses the purple 'synced' color) looks different. The whole outline is larger. This is because the
box-shadow
for template items is different and uses two box-shadowss, with some offset. Not sure why but I would say the shape of the box-shadow should be the same for all items.In the image below I highlighted all the items in the list view with the focus style, to better illustrate:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: