• Resolved keysuck

    (@keysuck)


    Hello Tobias,

    First off, thanks for the awesome plugin, which enables datatable management whole lot easier!
    I am using TablePress in UTF-8 encoding, and it seems that the last character is always detached from the word wrap and dropped to the next paragraph line, as seen from the second column of the URL.
    Please investigate this symptom and offer me a solution.
    Thanks!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This is simply caused by the browser reducing the width of that column, from what I can see. To turn that off for that second column, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-833 .column-2 {
      white-space: nowrap;
    }

    Regards,
    Tobias

    Thread Starter keysuck

    (@keysuck)

    Hi Tobias,

    Thanks for the prompt fix to the issue.
    Is there a universal code to apply the option across all columns?
    I also found another symptom on the aforementioned table where the first word in the first row followed by a merged column always starts with an extra space:

    extra-space

    Could you identify the cause?

    • This reply was modified 5 years, 11 months ago by keysuck.
    • This reply was modified 5 years, 11 months ago by keysuck.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    to apply this to all columns, use

    .tablepress th,
    .tablepress td {
      white-space: nowrap;
    }

    To fix the spacing issue, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress th:first-child,
    .tablepress td:first-child {
        padding-left: 8px;
    }

    Regards,
    Tobias

    Thread Starter keysuck

    (@keysuck)

    Great! Works flawlessly!
    What is causing the spacing on the start of the text, out of curiosity?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    There wasn’t actually extra spacing at the start of the text. Instead, your theme was removing the regular inner white space from the first cell in each row.

    Regards,
    Tobias

    Thread Starter keysuck

    (@keysuck)

    Thanks for the further explanation.
    You rock!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    always happy to help ??

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Last UTF-8 character appears on the next line’ is closed to new replies.