Permalink
Browse files

Fix hierarchy bubble styles.

The hierarchy <pre> element happened to get the .notpretty class
added which resulted in different margins etc.  Now avoiding that.

Also fixed the color of normal text inside it.
  • Loading branch information...
nene committed Apr 26, 2012
1 parent 6c2f286 commit baeb7b1c5b964f780982f53823f3bff36c950f0d
Showing with 2 additions and 1 deletion.
  1. +1 −1 template/app/Syntax.js
  2. +1 −0 template/resources/sass/_class_overview.scss
View
@@ -21,7 +21,7 @@ Ext.define("Docs.Syntax", {
pre.addCls("prettyprint");
}
}
- else if (!pre.parent(".CodeMirror")) {
+ else if (!pre.parent(".CodeMirror") && !pre.hasCls("hierarchy")) {
// For normal pre-s add "notpretty" class so they can be
// distinguished in CSS from any other <pre> element
// that might appear on page.
@@ -11,6 +11,7 @@
float: right;
clear: right;
margin: 0 0 10px 60px;
+ color: $docs-text-color;
font-size: 12px; }
.hierarchy {
h4 {

0 comments on commit baeb7b1

Please sign in to comment.