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
This commit is contained in:
@@ -163,6 +163,9 @@ a.toggle {
|
|||||||
padding: 2px 6px 3px;
|
padding: 2px 6px 3px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
color: #777777;
|
color: #777777;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
-moz-border-radius: 8px;
|
-moz-border-radius: 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user