Improve command palette rendering on smaller viewports#53661
Improve command palette rendering on smaller viewports#53661
Conversation
|
Size Change: +870 B (0%) Total Size: 1.51 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in d168096. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5862306973
|
|
Seems fine, but should the radius be changed like that? To me this counts as a modal and can keep its modal radius. Not the strongest opinion in the world, just curiuos as to the intent. |
|
Should we add some margin on mobile, and keep the radius, so it isn't styled as a "bottom card" like that? |
|
CC: @jameskoster I think you polished these recently. |
You mean for the modal component? Perhaps. |
|
I meant an override just for the command palette. But I guess the larger question is how that should behave on mobile altogether, so a big old "depends" on that one. |
|
I could go quite a few ways on this one, including just picking one and revisiting as we learn more about this, so I'm happy to defer. I think the only change I'd feel slightly more about is to retaining the 4px radius :) |
Just realized I used the wrong unit — I'll fix :) |
|
@jasmussen I updated the description with before/after recordings of the change. |





What?
Minor adjustment to
.commands-command-menuto improve how it displays on mobile.Testing Instructions
Screenshots or screencast
Before
CleanShot.2023-08-15.at.13.30.37.mp4
After
CleanShot.2023-08-15.at.13.28.12.mp4