Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Width of ComplexTableFields

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1194 Views
  • adesweb
    Avatar
    Community Member
    39 Posts

    Width of ComplexTableFields Link to this post

    Hi,

    I'm noticing if you have a lot of columns, or a lot of text within each column, the width can get stretched off the right-hand side of the screen.

    Has anyone a quick CSS fix for this?

    Ideally I guess, you don't want to have a max. character limit in each field and put elipses after that limit, to reduce the chance of this happening.

    Adrian

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: Width of ComplexTableFields Link to this post

    Find the ID or Class name of the conatining element (usualy a div), then apply a "max-width: xx;"

    Example:

    #navigation {
    max-width: 200px;
    }

    1194 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.