Permalink
Browse files

MINOR Fixing 1px gap between nav tree and page header

  • Loading branch information...
1 parent 064a36e commit 87fbb720a119aa3bee1e4e43040cd5768cb837cc @chillu chillu committed Mar 27, 2012
Showing with 12 additions and 0 deletions.
  1. +3 −0 admin/css/screen.css
  2. +9 −0 admin/scss/_style.scss
View
3 admin/css/screen.css
@@ -525,6 +525,9 @@ form.import-form ul li { margin-left: 20px; }
form.import-form p { margin-bottom: 5px; }
form.import-form label.left { width: 250px; }
+/** -------------------------------------------- Page Edit Controller -------------------------------------------- */
+.cms-container .CMSMain.CMSPageEditController { margin-left: -1px; }
+
/** This file defines the jstree base styling (see http://jstree.com), as well as any customizations (see bottom of file). The styles are usually added through jstree.js on DOM load, but we need it earlier in order to correctly display the uninitialized tree. */
.cms .jstree ul, .TreeDropdownField .treedropdownfield-panel .jstree ul { display: block; margin: 0; padding: 0; background: none; list-style-type: none; }
.cms .jstree li, .TreeDropdownField .treedropdownfield-panel .jstree li { display: block; margin: 0; padding: 0; list-style-type: none; display: block; min-height: 18px; line-height: 18px; white-space: nowrap; margin-left: 18px; min-width: 18px; }
View
9 admin/scss/_style.scss
@@ -1426,5 +1426,14 @@ form.import-form {
label.left {
width: 250px;
}
+
}
+/** --------------------------------------------
+ * Page Edit Controller
+ * -------------------------------------------- */
+
+.cms-container .CMSMain.CMSPageEditController {
+ // Fix pixel gap between nav tree and main page header
+ margin-left:-1px;
+}

0 comments on commit 87fbb72

Please sign in to comment.