Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix EZP-22124: inline image alignment is not respected
(cherry picked from commit 6cc7a68)
  • Loading branch information
dpobel committed Feb 28, 2014
1 parent 4df98dc commit 2c9b69c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
Expand Up @@ -22,6 +22,12 @@
margin-right: auto;
text-align: center;
}
.embed-inline-left {
float: left;
}
.embed-inline-right {
float: right;
}
.block {
.left {
width: 48%;
Expand Down
Expand Up @@ -7,5 +7,6 @@
{/if}

{if is_set( $link_parameters.href )}<a href={$link_parameters.href|ezurl} target="{$link_parameters.target|wash}"{if is_set($link_parameters.class)} class="{$link_parameters.class|wash}"{/if}{if is_set($link_parameters['xhtml:id'])} id="{$link_parameters['xhtml:id']|wash}"{/if}{if is_set($link_parameters['xhtml:title'])} title="{$link_parameters['xhtml:title']|wash}"{/if}>{/if}
<img src={$image_variation.full_path|ezroot} alt="{$object.data_map.image.content.alternative_text|wash(xhtml)}" />
<img src={$image_variation.full_path|ezroot} alt="{$object.data_map.image.content.alternative_text|wash(xhtml)}"
{cond( $attribute_parameters.align, concat( ' class="embed-inline-', $attribute_parameters.align, '"' ), '' )} />
{if is_set( $link_parameters.href )}</a>{/if}
Expand Up @@ -4510,6 +4510,12 @@ a.thumbnail:hover {
margin-right: auto;
text-align: center;
}
.embed-inline-left {
float: left;
}
.embed-inline-right {
float: right;
}
.block .left {
width: 48%;
float: left;
Expand Down

0 comments on commit 2c9b69c

Please sign in to comment.