Jump to:

5514 Posts in 1733 Topics by 1219 members

Customising the CMS

SilverStripe Forums » Customising the CMS » SiteTree width

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 486 Views
  • kylehudson00
    Avatar
    Community Member
    22 Posts

    SiteTree width Link to this post

    Simple question, is there a way to customize the Site Tree's width when editing a page? Further, is there a way to make the width draggable? This would be very useful when editing blog posts - the default width is too skinny.

  • micahsheets
    Avatar
    Community Member
    164 Posts

    Re: SiteTree width Link to this post

    I was also going to write a post on this subject. The element <div id="cms-content-tools-CMSMain"> really needs to be wider by default. If this area is a ModelAdmin search area that has an import field then the Browse button is always cut off. If it is a site tree listing then the status of the page is cut off or not visible if the page name is too long. Being able to resize this is extremely important.

  • kylehudson00
    Avatar
    Community Member
    22 Posts

    Re: SiteTree width Link to this post

    There is a months-old open ticket on this (not started by me): https://github.com/silverstripe/silverstripe-framework/issues/1565

    This really is something that needs to be addressed. The width of the site tree needs to be dynamic - at the very least, a higher 'min-width' value needs to be applied. I've tried to fix it myself, but the relevant CSS seems to be inline so I'm assuming it's injected via javascript at some point - but I can't find where. Any pointers?

    486 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.