Skip to content

Commit

Permalink
fixing gallery css
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocamposviana committed Dec 13, 2013
1 parent b19a50b commit 994ab13
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion Resources/public/css/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ figure.ezimage-field {
figure.ezimage-field img {
max-width:100%;
width:100%;
height:auto;
}

.user-menu{
Expand All @@ -26,4 +27,18 @@ figure.ezimage-field img {
.pagination ul li {
display:inline;
padding: 0 10px;
}
}


/* Gallery */

.content-type-gallery figure.ezimage-field img {

width:auto;
}

.content-type-gallery figure.ezimage-field {

text-align:left;

}
2 changes: 1 addition & 1 deletion Resources/views/content/gallery/full.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% set language = (siteaccess[ezpublish.siteaccess.name].language) %}

<div class="content-view-full">
<div class="content-type-folder">
<div class="content-type-gallery">
<div class="attribute-title">
<h2>{{ ez_render_field( content, 'title', { lang: language } ) }}</h2>
</div>
Expand Down

0 comments on commit 994ab13

Please sign in to comment.