aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-19 13:41:42 +0300
committerGravatar Vitaly Takmazov2017-05-19 13:41:42 +0300
commit00d5c9ad7b64bde1602bdb7bb5ec12b23d73979b (patch)
tree9a9abc4d06a0241720f4bcda7ee0fc7e7b51eefb /juick-www/src/main
parent5bcdd39ddf822cffb3bfd068c2fba737f657a983 (diff)
juick-www: fix img align
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/static/style.css2
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/index.html5
2 files changed, 3 insertions, 4 deletions
diff --git a/juick-www/src/main/static/style.css b/juick-www/src/main/static/style.css
index f629a2c5..bab0519f 100644
--- a/juick-www/src/main/static/style.css
+++ b/juick-www/src/main/static/style.css
@@ -195,7 +195,7 @@ article .i {
text-align: center;
}
article .ir {
- float: right;
+ text-align: center;
margin-bottom: 10px;
margin-left: 10px;
}
diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html
index eebba613..0e4eb6ba 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/index.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/index.html
@@ -25,13 +25,12 @@
{{ tags(msg.getUser().getName(), msg.getTags()) }}
</div>
</header>
-
+ <p>{{ msg | formatMessage }}</p>
{% if msg.AttachmentType is not empty %}
<p class="ir"><a href="//i.juick.com/p/{{ msg.getMid() }}.{{ msg.AttachmentType }}" data-fname="{{ msg.getMid() }}.{{ msg.AttachmentType }}">
<img src="//i.juick.com/photos-512/{{ msg.getMid() }}.{{ msg.AttachmentType }}" alt=""/></a>
</p>
{% endif %}
- <p>{{ msg | formatMessage }}</p>
{% if msg.AttachmentType is not empty %}
<div class="irbr"></div>
{% endif %}
@@ -78,4 +77,4 @@
{% if noindex %}
<!--/noindex-->
{% endif %}
-{% endblock %} \ No newline at end of file
+{% endblock %}