silverstripe-cms icon indicating copy to clipboard operation
silverstripe-cms copied to clipboard

DataObjects with lots of $has_many relationships won't display properly in the CMS

Open geoffmunn opened this issue 6 years ago • 1 comments

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.

silverstripe security silverstripe working

geoffmunn avatar Sep 12 '18 10:09 geoffmunn

Once I successfully add an item to the list, then this problem goes away so perhaps it's only for empty relationships?

geoffmunn avatar Sep 12 '18 10:09 geoffmunn