Browse files

"Edit tree" button alignment

Happens to work for the width of the english label,
but breaks on any other language with longer labels.
Don't make the button absolutely positioned.
Partially reverts 1e25637.
  • Loading branch information...
1 parent 82699ba commit e486a16a8fc5adf2f9e7c76ad1de94b61cfbeb35 @chillu chillu committed Aug 12, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −1 css/screen.css
  2. +0 −3 scss/_CMSMain.scss
View
2 css/screen.css
@@ -15,7 +15,7 @@
.cms-content-tools #cms-content-treeview .cms-content-toolbar { border-bottom: none; box-shadow: none; margin-bottom: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree-view-modes, .cms-content-tools #cms-content-treeview .cms-content-batchactions { display: none; }
-.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; position: absolute; top: 8px; right: 4px; }
+.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; }
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger span.ui-button-text { padding-right: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree .badge, .cms-content-tools #cms-content-treeview .cms-tree a > .jstree-icon { display: none; }
.cms-content-tools #cms-content-treeview .cms-tree a:hover > .text > .badge, .cms-content-tools #cms-content-treeview .cms-tree .jstree-clicked > .text > .badge { display: inline-block; }
View
3 scss/_CMSMain.scss
@@ -68,9 +68,6 @@
.cms-tree-expand-trigger {
display: inline-block;
margin:0 0 2px 0;
- position:absolute;
- top:8px;
- right:4px;
span.ui-button-text{
padding-right:8px;
}

0 comments on commit e486a16

Please sign in to comment.