Homec4science

Stop toggle buttons overlapping

Authored by Edward Speyer <edward@fb.com> on Sep 21 2012, 22:05.

Description

Stop toggle buttons overlapping

Summary:
When there's an AphrontFormToggleButtonsControl with a lot of toggle options,
the rounded shape of the a.toggle buttons overlaps, and the text inside breaks
over multiple lines.

Making them display:block, and floating them left fixes this.

Test Plan: Made my font really big as a test case.

Reviewers: epriestley

Reviewed By: epriestley

CC: bgh, aran, Korvin

Differential Revision: https://secure.phabricator.com/D3529

Details

Committed
Edward Speyer <edward@fb.com>Sep 21 2012, 22:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf466c54fc006: Simplify AphrontRequest::getStrList()
Branches
Unknown
Tags
Unknown

Event Timeline

Edward Speyer <edward@fb.com> committed rPH48fa3eb3b357: Stop toggle buttons overlapping (authored by Edward Speyer <edward@fb.com>).Sep 21 2012, 22:05