MINOR: Adjust styling for gridfield showing where-else document is linked

This commit is contained in:
Ryan O'Hara 2012-08-06 17:55:04 +12:00
parent 8be5a754bc
commit 782b07ec80
3 changed files with 14 additions and 3 deletions

View File

@ -472,7 +472,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
$fields->add($UploadField);
$fields->add($pagesGrid);
$fields->add(FormAction::create('dod', _t('GridFieldDetailForm.Delete', 'Delete'))
->addExtraClass('ss-ui-action-destructive')); //delete button
->addExtraClass('ss-ui-action-destructive')); //delete button - move this to actions area above
return $fields;

View File

@ -23,4 +23,6 @@
#ReplaceFile { display: none; }
.cms fieldset table.ss-gridfield-table { width: 900px; }
.cms fieldset table.ss-gridfield-table { width: auto; }
.cms fieldset table.ss-gridfield-table tr th.main { min-width: 200px; }
.cms fieldset table.ss-gridfield-table tr th.main.col-action_SetOrderID { width: 60px; min-width: 60px; }

View File

@ -90,7 +90,16 @@ $color-button-generic: #e6e6e6 !default;
.cms{
fieldset{
table.ss-gridfield-table{
width: 900px;
width: auto;
tr{
th.main{
min-width:200px;
&.col-action_SetOrderID{
width:60px;
min-width:60px;
}
}
}
}
}
}