Skip to content
This repository
Browse code

BUGFIX:SSF-124 / Trac#7105 - fixed issue with gridfield columns being…

… too narrow.
  • Loading branch information...
commit 285773746d7455a89afb515240f2fe552b5b95cf 1 parent 1e0b843
authored April 11, 2012
4  css/GridField.css
@@ -14,10 +14,10 @@
14 14
 .cms table.ss-gridfield-table thead { color: #1d2224; background: transparent; }
15 15
 .cms table.ss-gridfield-table thead tr.filter-header .fieldgroup { max-width: 512px; }
16 16
 .cms table.ss-gridfield-table tbody { background: #FFF; }
17  
-.cms table.ss-gridfield-table tbody td { width: 100%; white-space: nowrap; }
  17
+.cms table.ss-gridfield-table tbody td { width: auto; white-space: nowrap; }
18 18
 .cms table.ss-gridfield-table tbody td.col-buttons { width: auto; text-align: right; }
19 19
 .cms table.ss-gridfield-table tbody td.col-description { width: auto; }
20  
-.cms table.ss-gridfield-table tbody td.col-listChildrenLink { width: auto; border-right: none; text-indent: -9999em; padding: 0; }
  20
+.cms table.ss-gridfield-table tbody td.col-listChildrenLink { width: 16px; border-right: none; text-indent: -9999em; padding: 0; }
21 21
 .cms table.ss-gridfield-table tbody td.col-listChildrenLink .list-children-link { background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 12px -4px; display: block; }
22 22
 .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.item { color: #1556b2; }
23 23
 .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge { clear: both; text-transform: uppercase; display: inline-block; padding: 0px 3px; font-size: 0.75em; line-height: 1em; margin-left: 10px; margin-right: 6px; margin-top: -1px; -webkit-border-radius: 2px 2px; -moz-border-radius: 2px / 2px; -o-border-radius: 2px / 2px; -ms-border-radius: 2px / 2px; -khtml-border-radius: 2px / 2px; border-radius: 2px / 2px; }
4  scss/GridField.scss
@@ -108,7 +108,7 @@ $gf_grid_x:	16px;
108 108
 				// Give browser some hints on which cols take priority:
109 109
 				// The last column (buttons) should always shrink to fit.
110 110
 				// Overwritten for IE7, which doesn't support this.
111  
-				width: 100%;
  111
+				width: auto;
112 112
 				white-space:nowrap;
113 113
 				&.col-buttons {
114 114
 					width: auto;
@@ -120,7 +120,7 @@ $gf_grid_x:	16px;
120 120
 				}
121 121
 
122 122
 				&.col-listChildrenLink {
123  
-					width:auto;
  123
+					width:$gf_grid_x;
124 124
 					border-right:none;
125 125
 					text-indent:-9999em;
126 126
 					padding:0;

0 notes on commit 2857737

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