Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem here is not actually the padding, but simply that the tables are stretched to full width (100% of the content area) automatically.
    You could try changing that with some CSS like

    .dataTables_wrapper .tablepress {
      width: auto;
    }

    but I’d actually leave it as it is, or maybe set the column widths of some columns only.

    Regards,
    Tobias

    Thread Starter Laverneus Dinglefoot

    (@laverneus-dinglefoot)

    I was hoping I could get away with being lazy, but I guess not. Thanks for the help, as always, Tobias.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    the CSS change is pretty simple, but as you are also using the “Search” feature, you’d have problems with the alignment of the search input fields, so changing the width is really not worth it.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table Width/Padding Issue’ is closed to new replies.