Reduced contact card picture width
authorThierry Florac <thierry.florac@onf.fr>
Fri, 28 Dec 2018 10:26:10 +0100
changeset 305 8f606992afed
parent 304 0c8fa076f6c2
child 306 23daa39df50b
Reduced contact card picture width
src/pyams_default_theme/component/paragraph/templates/contact-default.pt
--- a/src/pyams_default_theme/component/paragraph/templates/contact-default.pt	Fri Dec 28 10:25:39 2018 +0100
+++ b/src/pyams_default_theme/component/paragraph/templates/contact-default.pt	Fri Dec 28 10:26:10 2018 +0100
@@ -3,7 +3,7 @@
 	<h3 tal:content="view.title">Contact title</h3>
 	<div tal:condition="settings.can_display_photo"
 		 class="thumbnail photo pull-${settings.photo_position}">
-		${structure:tales:picture(view.photo, lg_width=3, md_width=3, sm_width=4, xs_width=4)}
+		${structure:tales:picture(view.photo, lg_width=2, md_width=2, sm_width=3, xs_width=3)}
 	</div>
 	<div tal:condition="settings.can_display_map"
 		 tal:attributes="class string:map pull-${settings.map_position}">