Treetable p tag vertical align problem

How can I fix row height and vertical alignment in treetable, and believe datatable, problem with HTML p tags introduced by external editors.
Samples in line2 and 2.1 of snippet.
https://snippet.webix.com/9ngpm35c

Best regards

Comments

  • Apologies for the delay,

    How can I fix row height and vertical alignment in treetable, and believe datatable, problem with HTML p tags introduced by external editors.

    As a possible solution, you can change the display type of the <p> tags (via CSS) to inline-block (or inline) - this change will allow for the correct calculation of the row height. If you wish to introduce a line break, you can use the <br> tag alongside this method. Vertical alignment can also be done with the help of some additional CSS rules (e.g. margin: 0 auto).

    Please take a look at the following example: https://snippet.webix.com/wgest6g4.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion