]> BookStack Code Mirror - bookstack/commit
WYSIWYG: Fixed growing rows on Firefox
authorDan Brown <redacted>
Wed, 28 Jun 2023 22:28:31 +0000 (23:28 +0100)
committerDan Brown <redacted>
Wed, 28 Jun 2023 22:28:31 +0000 (23:28 +0100)
commit5ea2d0c57bb0fea66b33201de884d000a2e92731
tree3a66bcd9231e0c4b4635cf729c024a90b121c2e0
parentb425d0f65c539207f979814ea50dfc0dc9cd0055
WYSIWYG: Fixed growing rows on Firefox

Occured when the cell contained any block content with a differnt line
height to the table cell itself.
In firefox, cells with a height would end up with an actual greater
real cell height, which messed up TinyMCE resize calculations, causing
tables to grow.
Adding default vertical-align: top, changes this behaviour to get proper
cell heights.
Related to Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=569645
Have tested that editor cell text align options can still be used with
this.

For #4337
resources/sass/_tables.scss