From df389716df738d035521b77fce8c0905a4cd1fea Mon Sep 17 00:00:00 2001 From: Jeremy Bridson Date: Tue, 10 Apr 2012 16:28:25 +1200 Subject: [PATCH] BUGFIX: SSF-124 - fixed width of column and positioning of show children arrow in ie7 --- admin/css/ie7.css | 4 +++- admin/scss/ie7.scss | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/admin/css/ie7.css b/admin/css/ie7.css index ceca283a5..759149480 100644 --- a/admin/css/ie7.css +++ b/admin/css/ie7.css @@ -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; } @@ -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; } diff --git a/admin/scss/ie7.scss b/admin/scss/ie7.scss index 375db128e..3d078a8f0 100644 --- a/admin/scss/ie7.scss +++ b/admin/scss/ie7.scss @@ -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; @@ -213,4 +212,17 @@ table.ss-gridfield-table { padding:0px; //stops clear database text from overflowing onto two lines. } } -} \ No newline at end of file +} + +//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; + } + } + } +} \ No newline at end of file