Skip to content

Commit

Permalink
BUGFIX: SSF-124 - fixed width of column and positioning of show child…
Browse files Browse the repository at this point in the history
…ren arrow in ie7
  • Loading branch information
Jeremy Bridson committed Apr 10, 2012
1 parent 3ea847a commit df38971
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
4 changes: 3 additions & 1 deletion admin/css/ie7.css
Expand Up @@ -50,7 +50,6 @@ html { overflow: hidden; }

table.ss-gridfield-table tr.title th h2 { float: left; }

table.ss-gridfield-table { table-layout: fixed; }
table.ss-gridfield-table tr.ss-gridfield-item.odd { background: white; }
table.ss-gridfield-table tr.ss-gridfield-item.even { background: #F0F4F7; }

Expand All @@ -59,3 +58,6 @@ table.ss-gridfield-table tr.ss-gridfield-item.even { background: #F0F4F7; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.file { margin: 0px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.file input.file { margin-left: -132px; }
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content #Form_ImportForm div.checkbox { padding: 0px; }

.cms .ss-gridfield table.ss-gridfield-table tbody td.col-listChildrenLink { width: 16px; }
.cms .ss-gridfield table.ss-gridfield-table tbody td.col-listChildrenLink .list-children-link { background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 4px -4px; display: block; }
16 changes: 14 additions & 2 deletions admin/scss/ie7.scss
Expand Up @@ -183,7 +183,6 @@ table.ss-gridfield-table tr.title th h2 {
//fix for alternate colors on rows in datagrid

table.ss-gridfield-table {
table-layout:fixed; //fix for uneven column widths and hidden filter buttons
tr {
&.ss-gridfield-item.odd {
background: white;
Expand Down Expand Up @@ -213,4 +212,17 @@ table.ss-gridfield-table {
padding:0px; //stops clear database text from overflowing onto two lines.
}
}
}
}

//fix for view children arrow in pages list view
.cms .ss-gridfield table.ss-gridfield-table tbody {
td {
&.col-listChildrenLink {
width:16px;
.list-children-link {
background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 4px -4px;
display:block;
}
}
}
}

0 comments on commit df38971

Please sign in to comment.