Skip to content

Commit 48fa3eb

Browse files
author
Edward Speyer
committedSep 21, 2012
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
1 parent f466c54 commit 48fa3eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎webroot/rsrc/css/core/buttons.css

+3
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ a.toggle {
163163
padding: 2px 6px 3px;
164164
font-weight: bold;
165165
margin-right: 4px;
166+
margin-bottom: 5px;
167+
display: block;
168+
float: left;
166169
color: #777777;
167170
border-radius: 8px;
168171
-moz-border-radius: 8px;

0 commit comments

Comments
 (0)
Failed to load comments.