Skip to content
This repository
Browse code

"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...
commit e486a16a8fc5adf2f9e7c76ad1de94b61cfbeb35 1 parent 82699ba
Ingo Schommer authored August 12, 2012
2  css/screen.css
@@ -15,7 +15,7 @@
15 15
 
16 16
 .cms-content-tools #cms-content-treeview .cms-content-toolbar { border-bottom: none; box-shadow: none; margin-bottom: 8px; }
17 17
 .cms-content-tools #cms-content-treeview .cms-tree-view-modes, .cms-content-tools #cms-content-treeview .cms-content-batchactions { display: none; }
18  
-.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; position: absolute; top: 8px; right: 4px; }
  18
+.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; }
19 19
 .cms-content-tools #cms-content-treeview .cms-tree-expand-trigger span.ui-button-text { padding-right: 8px; }
20 20
 .cms-content-tools #cms-content-treeview .cms-tree .badge, .cms-content-tools #cms-content-treeview .cms-tree a > .jstree-icon { display: none; }
21 21
 .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; }
3  scss/_CMSMain.scss
@@ -68,9 +68,6 @@
68 68
 		.cms-tree-expand-trigger {
69 69
 			display: inline-block;
70 70
 			margin:0 0 2px 0;
71  
-			position:absolute;
72  
-			top:8px;
73  
-			right:4px;
74 71
 			span.ui-button-text{
75 72
 					padding-right:8px;
76 73
 			}

0 notes on commit e486a16

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