mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
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:
parent
f466c54fc0
commit
48fa3eb3b3
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue