Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #107464
    ceddy
    Participant

    How do you change row height using react?

    #107466

    Hi,

    You should change the following CSS variable: –smart-table-row-height.
    For example:

    .smart-gantt-chart {
    –smart-table-row-height: 40px;
    }

    I hope this helps!

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #107467
    ceddy
    Participant

    Just changed it but nothing changes, it remained the same, can you do a codepen? i tried editing it from css variables and it failed, also tried editing the variable in the browser and nothing changed.

    • This reply was modified 9 months, 3 weeks ago by ceddy.
    #107476
    ivanpeevski
    Participant

    Hi ceddy,

    The CSS variable you should use is –smart-gantt-chart-task-default-height

    Here is an example – codepen

    Best Regards,
    Ivan Peevski

    Smart UI Team
    https://www.htmlelements.com/

    #107484
    ceddy
    Participant

    Thank you very much Ivan, it worked

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.