mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MINOR: Adjust styling for gridfield showing where-else document is linked
This commit is contained in:
parent
8be5a754bc
commit
782b07ec80
@ -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;
|
||||
|
@ -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; }
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user