How to make the table size bigger

How to make the table size bigger

Jerry2016Jerry2016 Posts: 7Questions: 4Answers: 0

Hi, it seems that the some data get line break in the datatable, anyway to change the size? I didn't add any customized css yet.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Try this in your CSS:

    table th,
    table td {
      white-space: break-spaces;
    }
    

    The problem is that by default CSS allows a line break on hyphens, which isn't what you want in ths case. In fact, I might put that into the default CSS for date columns.

    Thanks,
    Allan

Sign In or Register to comment.