• Resolved rawantxf

    (@rawantxf)


    Hi again Tobias,

    One of my columns is for countries, and sometimes I need to add a lot of countries in one row. The problem is that this makes the relevant rows very big, so I tried adding this .tablepress-id-1 .column-6 {
    height: 98px;
    }

    after that, I tried adding a lot of values to one row and it still appeared very long, not limited to 98px.

    Do you have any ideas on how to fix this?

    If you want to take a look: https://guardamedia.com/tablepress/

    Thank you!
    Rawan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand. You want a lot of data (countries) in the table rows, but at the same time the row should not be too high? That does not make sense to me.

    Regards,
    Tobias

    Thread Starter rawantxf

    (@rawantxf)

    Hi Tobias

    You understood correctly. It’s just an aesthetic issue. For only one column, I’ll have a lot of data. The others not more than than 2 or 3. This results in each row being really long vertically. I’m trying to limit this height by setting a fixed height (which would hide some of the data).

    Do you think this is possible? I tried
    .tablepress-id-1 .column-6 {
    height: 98px;
    }
    but it didn’t work

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I see. Unfortunately, I’ll have to disappoint you here. That won’t work like that, due to how the browser will show the content.
    You could maybe try working with an extra HTML <div> container in the cell:

    <div style="height:98px;overflow-y:scroll;">YOUR LONG TEXT</div>
    

    Regards,
    Tobias

    Thread Starter rawantxf

    (@rawantxf)

    Thanks Tobias! Have a good weekend.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem! Always happy to help!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Row height’ is closed to new replies.