Updated summary portlet template
authortflorac@dagon.home
Thu, 03 Jan 2019 23:09:35 +0100
changeset 332 26af016d89c9
parent 331 e2ca8b7977ff
child 333 02a2c1a4bb6e
Updated summary portlet template
src/pyams_default_theme/shared/site/portlet/templates/site-summary.pt
--- a/src/pyams_default_theme/shared/site/portlet/templates/site-summary.pt	Thu Jan 03 17:54:44 2019 +0100
+++ b/src/pyams_default_theme/shared/site/portlet/templates/site-summary.pt	Thu Jan 03 23:09:35 2019 +0100
@@ -7,13 +7,13 @@
 			<tal:var define="target tales:relative_url(item.context)">
 				<div tal:define="illustration tales:pyams_illustration(item.context)"
 					 tal:condition="illustration"
-					 class="thumbnail pull-left hidden-xs">
+					 class="thumbnail pull-left col-md-3 col-sm-4 hidden-xs">
 					<a href="${target}">
 						<tal:if define="image i18n:illustration.data;
 										alt i18n:illustration.alt_title;"
 								condition="image">
 							${structure:tales:picture(image, lg_thumb='pano', lg_width=3, md_thumb='pano', md_width=3, sm_thumb='pano',
-													  sm_width=4, xs_thumb='pano', xs_width=12, alt=alt, css_class='result_media')}
+													  sm_width=4, xs_thumb='pano', xs_width=0, alt=alt, css_class='result_media')}
 						</tal:if>
 					</a>
 				</div>