silverstripe-cms
silverstripe-cms copied to clipboard
DataObjects with lots of $has_many relationships won't display properly in the CMS
If a DataObject has too many $has_many relationships, then the links at the top will spill over into the section below and obscure the 'Add' button.
The image shows it quite clearly.
This can be fixed by disabling height: 100%
in bundle.css for this rule:
cms-content-header .cms-content-header-info {
height: 100%;
min-height: 52px;
min-width: 250px;
}
I'm not sure what the wider issues would be in disabling this rule, hence no pull request.
Once I successfully add an item to the list, then this problem goes away so perhaps it's only for empty relationships?