]> BookStack Code Mirror - bookstack/commitdiff
WYSWIYG: Fixed misaligned table cell p line height
authorDan Brown <redacted>
Thu, 2 May 2024 14:20:51 +0000 (15:20 +0100)
committerDan Brown <redacted>
Thu, 2 May 2024 14:20:51 +0000 (15:20 +0100)
Removes an editor-specific line-height which was overriding cell
paragraph line height, causing mis-aligned style compared to viewing.
Checked a range of styles and looked at history, could not see original
purpose of the line-height removed here.
Closes #4960

resources/sass/_tinymce.scss

index 29843e4246fdfe49aa3c2c46e82a7d22504138d6..95294cdf2c0885636b12ece48f10d2ad865616fb 100644 (file)
   display: block;
 }
 
-// In editor line height override
-.page-content.mce-content-body p {
-  line-height: 1.6;
-}
-
 // Pad out bottom of editor
 body.page-content.mce-content-body  {
   padding-bottom: 5rem;