MINOR:changed white-space:nowrap so that it applies to all td in the gridfield.

This commit is contained in:
Jeremy Bridson 2012-04-10 13:41:15 +12:00
parent b26807058f
commit 3ea847a059
2 changed files with 4 additions and 15 deletions

View File

@ -14,13 +14,11 @@
.cms table.ss-gridfield-table thead { color: #1d2224; background: transparent; } .cms table.ss-gridfield-table thead { color: #1d2224; background: transparent; }
.cms table.ss-gridfield-table thead tr.filter-header .fieldgroup { max-width: 512px; } .cms table.ss-gridfield-table thead tr.filter-header .fieldgroup { max-width: 512px; }
.cms table.ss-gridfield-table tbody { background: #FFF; } .cms table.ss-gridfield-table tbody { background: #FFF; }
.cms table.ss-gridfield-table tbody td { width: 100%; } .cms table.ss-gridfield-table tbody td { width: 100%; white-space: nowrap; }
.cms table.ss-gridfield-table tbody td.col-buttons { width: auto; text-align: right; white-space: nowrap; } .cms table.ss-gridfield-table tbody td.col-buttons { width: auto; text-align: right; }
.cms table.ss-gridfield-table tbody td.col-description { width: auto; white-space: nowrap; } .cms table.ss-gridfield-table tbody td.col-description { width: auto; }
.cms table.ss-gridfield-table tbody td.col-listChildrenLink { width: auto; border-right: none; text-indent: -9999em; padding: 0; } .cms table.ss-gridfield-table tbody td.col-listChildrenLink { width: auto; border-right: none; text-indent: -9999em; padding: 0; }
.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; } .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; }
.cms table.ss-gridfield-table tbody td.col-Created { white-space: nowrap; }
.cms table.ss-gridfield-table tbody td.col-LastEdited { white-space: nowrap; }
.cms table.ss-gridfield-table tbody td.col-getTreeTitle span.item { color: #1556b2; } .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.item { color: #1556b2; }
.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; } .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; }
.cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.modified { color: #7E7470; border: 1px solid #C9B800; background-color: #FFF0BC; } .cms table.ss-gridfield-table tbody td.col-getTreeTitle span.badge.modified { color: #7E7470; border: 1px solid #C9B800; background-color: #FFF0BC; }

View File

@ -109,15 +109,14 @@ $gf_grid_x: 16px;
// The last column (buttons) should always shrink to fit. // The last column (buttons) should always shrink to fit.
// Overwritten for IE7, which doesn't support this. // Overwritten for IE7, which doesn't support this.
width: 100%; width: 100%;
white-space:nowrap;
&.col-buttons { &.col-buttons {
width: auto; width: auto;
text-align: right; text-align: right;
white-space: nowrap;
} }
&.col-description { &.col-description {
width: auto; width: auto;
white-space:nowrap;
} }
&.col-listChildrenLink { &.col-listChildrenLink {
@ -131,14 +130,6 @@ $gf_grid_x: 16px;
} }
} }
&.col-Created {
white-space:nowrap;
}
&.col-LastEdited {
white-space:nowrap;
}
&.col-getTreeTitle { &.col-getTreeTitle {
span.item { span.item {
color:$color-text-blue-link; color:$color-text-blue-link;