Spotlight center layout: support vertically oriented buttons box for additional_button
Categories
(Firefox :: Messaging System, enhancement, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox113 | --- | fixed |
People
(Reporter: aminomancer, Assigned: aminomancer)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
We want to support designs like the one attached, with two CTAs aligned vertically, plus a secondary text-link CTA at the bottom. But currently, the only way to get 3 CTAs (not counting dismiss button or top-aligned secondary CTAs) in a legacy spotlight like this is to use additional_button, which is placed in a box with the primary_button which flows horizontally.
Should be a pretty simple fix. We just need to add some kind of message property for Spotlight, which results in the additional button box getting flex-direction: column.
Unfortunately, as far as I can tell, there isn't any way to do this with configurable styles, so we can't do an experiment with this vertical layout on existing Fx versions. But since design is heading in this direction, we should land support for this ASAP so we can start targeting current Fx versions for experiments on these new designs.
| Assignee | ||
Comment 1•3 years ago
|
||
Here's the closest implementation we can currently achieve to the previous design example.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•