corrected sizing error on userpage panels
authordurandn
Tue, 15 Nov 2016 15:48:19 +0100
changeset 249 cd89d284079e
parent 248 ee382063c854
child 250 c3ff8c5b28e6
corrected sizing error on userpage panels
src/iconolab/static/iconolab/css/iconolab.css
src/iconolab/templates/partials/user_pages/annotations_commented_panel.html
src/iconolab/templates/partials/user_pages/annotations_contributed_panel.html
src/iconolab/templates/partials/user_pages/annotations_created_panel.html
--- a/src/iconolab/static/iconolab/css/iconolab.css	Tue Nov 15 15:12:10 2016 +0100
+++ b/src/iconolab/static/iconolab/css/iconolab.css	Tue Nov 15 15:48:19 2016 +0100
@@ -140,7 +140,7 @@
 .large-image-detail{
 	display:inline-block;
 	vertical-align: top;
-	width:450px;
+	width:400px;
 }
 
 
--- a/src/iconolab/templates/partials/user_pages/annotations_commented_panel.html	Tue Nov 15 15:12:10 2016 +0100
+++ b/src/iconolab/templates/partials/user_pages/annotations_commented_panel.html	Tue Nov 15 15:48:19 2016 +0100
@@ -13,7 +13,7 @@
     <div class="panel-content">
       <div style="position:relative" class="{% if large_image %}large-{% endif %}image-detail">
       {% if large_image %}
-        {% thumbnail annotation.image.media "450x450" crop=False as im %}
+        {% thumbnail annotation.image.media "400x400" crop=False as im %}
           <a href="{% url 'annotation_detail' annotation.image.item.collection.name annotation.image.image_guid annotation.annotation_guid %}">
             <img v-el:small-image src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
             <svg width="{{ im.width }}" height="{{ im.height }}" version="1.1" style="position:absolute; top:0px; left: 0px">
--- a/src/iconolab/templates/partials/user_pages/annotations_contributed_panel.html	Tue Nov 15 15:12:10 2016 +0100
+++ b/src/iconolab/templates/partials/user_pages/annotations_contributed_panel.html	Tue Nov 15 15:48:19 2016 +0100
@@ -13,7 +13,7 @@
     <div class="panel-content">
       <div style="position:relative" class="{% if large_image %}large-{% endif %}image-detail">
         {% if large_image %}
-          {% thumbnail annotation.image.media "450x450" crop=False as im %}
+          {% thumbnail annotation.image.media "400x400" crop=False as im %}
             <a href="{% url 'annotation_detail' annotation.image.item.collection.name annotation.image.image_guid annotation.annotation_guid %}">
               <img v-el:small-image src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
               <svg width="{{ im.width }}" height="{{ im.height }}" version="1.1" style="position:absolute; top:0px; left: 0px">
--- a/src/iconolab/templates/partials/user_pages/annotations_created_panel.html	Tue Nov 15 15:12:10 2016 +0100
+++ b/src/iconolab/templates/partials/user_pages/annotations_created_panel.html	Tue Nov 15 15:48:19 2016 +0100
@@ -12,7 +12,7 @@
     <div class="panel-content">
       <div style="position:relative" class="{% if large_image %}large-{% endif %}image-detail">
         {% if large_image %}
-          {% thumbnail annotation.image.media "450x450" crop=False as im %}
+          {% thumbnail annotation.image.media "400x400" crop=False as im %}
             <a href="{% url 'annotation_detail' annotation.image.item.collection.name annotation.image.image_guid annotation.annotation_guid %}">
               <img v-el:small-image src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
               <svg width="{{ im.width }}" height="{{ im.height }}" version="1.1" style="position:absolute; top:0px; left: 0px">