Skip to content
This repository
Browse code

MINOR Hiding CMS-specific badges in TreeDropdownField (fixes #7456)

  • Loading branch information...
commit 04e5ff09ca79ffbeddb68662facad25bb7b63f26 1 parent c81d0e1
Ingo Schommer authored June 14, 2012
1  admin/css/screen.css
@@ -172,6 +172,7 @@ form.small .field input.text, form.small .field textarea, form.small .field sele
172 172
 .field .TreeDropdownField { padding: 0; }
173 173
 .field .TreeDropdownField .treedropdownfield-panel { border: 1px solid #b3b3b3; border-top: none; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -ms-border-bottom-left-radius: 4px; -o-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -ms-border-bottom-right-radius: 4px; -o-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
174 174
 .field .TreeDropdownField.treedropdownfield-open-tree { -moz-border-radius-bottomleft: 0; -webkit-border-bottom-left-radius: 0; -ms-border-bottom-left-radius: 0; -o-border-bottom-left-radius: 0; border-bottom-left-radius: 0; -moz-border-radius-bottomright: 0; -webkit-border-bottom-right-radius: 0; -ms-border-bottom-right-radius: 0; -o-border-bottom-right-radius: 0; border-bottom-right-radius: 0; }
  175
+.field .TreeDropdownField .badge { display: none; }
175 176
 .field .dropdown select { margin-top: 8px; }
176 177
 .field .chzn-container .chzn-results li { font-size: 11px; line-height: 16px; padding: 4px 4px; }
177 178
 .field .chzn-container-active .chzn-single { border: 1px solid #9a9a9a; }
6  admin/scss/_forms.scss
@@ -181,6 +181,12 @@ form.small .field, .field.small {
181 181
 			@include border-bottom-left-radius(0);
182 182
 			@include border-bottom-right-radius(0);
183 183
 		}
  184
+
  185
+		// Hide badges, as they cost too much horizontal space,
  186
+		// and mess up rendering for selected node title
  187
+		.badge {
  188
+			display: none;
  189
+		}
184 190
 	}
185 191
 	
186 192
 	/* dropdowns */

0 notes on commit 04e5ff0

Please sign in to comment.
Something went wrong with that request. Please try again.