Skip to content

Commit

Permalink
Merge pull request ezsystems#1127 from ezsystems/ezp-23812_valign_oe
Browse files Browse the repository at this point in the history
Fix EZP-23812: vertical align in table cells is not visible in the editor
  • Loading branch information
dpobel committed Dec 19, 2014
2 parents e2c040a + 5df78a9 commit 4f2f457
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Expand Up @@ -180,6 +180,26 @@ div.ezoeItemCustomTag.separator

div.ezoeItemCustomTag.separator p { margin: 2px; }

/* table valign */
td[customattributes*="valign|top"], th[customattributes*="valign|top"]
{
vertical-align: top;
}

td[customattributes*="valign|baseline"], th[customattributes*="valign|baseline"]
{
vertical-align: baseline;
}

td[customattributes*="valign|middle"], th[customattributes*="valign|middle"]
{
vertical-align: middle;
}

td[customattributes*="valign|bottom"], th[customattributes*="valign|bottom"]
{
vertical-align: bottom;
}

/* change the style for embed tags */

Expand Down
21 changes: 21 additions & 0 deletions extension/ezoe/design/standard/stylesheets/skins/o2k7/content.css
Expand Up @@ -154,6 +154,27 @@ span.ezoeItemCustomTag.underline
text-decoration: underline
}

/* table valign */
td[customattributes*="valign|top"], th[customattributes*="valign|top"]
{
vertical-align: top;
}

td[customattributes*="valign|baseline"], th[customattributes*="valign|baseline"]
{
vertical-align: baseline;
}

td[customattributes*="valign|middle"], th[customattributes*="valign|middle"]
{
vertical-align: middle;
}

td[customattributes*="valign|bottom"], th[customattributes*="valign|bottom"]
{
vertical-align: bottom;
}

/* Visualisation of default block custom tags */

div.ezoeItemCustomTag.pagebreak
Expand Down

0 comments on commit 4f2f457

Please sign in to comment.