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
  • Loading branch information
dpobel committed Feb 17, 2014
1 parent 099b42a commit 8667993
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
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 @@ -502,6 +502,16 @@ div.object-center, table.object-center
margin: 0.25em auto 0.25em auto;
}

.embed-inline-left
{
float: left;
}

.embed-inline-right
{
float: right;
}

.float-break
{
height: 1%; /* Fix for IE */
Expand Down

0 comments on commit 8667993

Please sign in to comment.