summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2014-04-29 20:39:32 -0400
committerFredrick Brennan <admin@8chan.co>2014-04-29 20:39:32 -0400
commitde524c64d91aa66438f071de4347e64f41141fc8 (patch)
tree4cba7623bd138d3a233a3358e5e1da620c435e16
parent24753907eb5d550f24c02be1847b3e8a2e418914 (diff)
Attempt to fix styling issue http://i.imgur.com/owHv6sE.png
m---------js/wPaint0
-rw-r--r--stylesheets/style.css5
-rw-r--r--templates/post/fileinfo.html2
3 files changed, 5 insertions, 2 deletions
diff --git a/js/wPaint b/js/wPaint
-Subproject 15bae4a9181ddb283c1cad0979c44cefd4f15a4
+Subproject 2c272dffca0f3d7b7163bd82ba15629f5440927
diff --git a/stylesheets/style.css b/stylesheets/style.css
index ea575e55..6620c368 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -111,11 +111,14 @@ form table tr td div label {
}
.file {
float: left;
+ margin-right: 2px;
+}
+.multifile {
+ border: 2px dashed #B7C5D9;
}
p.fileinfo {
display: block;
margin: 0;
- padding-right: 7em;
}
div.banner {
background-color: #E04000;
diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html
index 2136169b..add7fd0c 100644
--- a/templates/post/fileinfo.html
+++ b/templates/post/fileinfo.html
@@ -3,7 +3,7 @@
{% else %}
<div class="files">
{% for file in post.files %}
- <div class="file">
+ <div class="file {% if post.num_files > 1 %}multifile{% endif %}" style="width:{{ file.thumbwidth + 40 }}px">
{% if file.file == 'deleted' %}
<img class="post-image deleted" src="{{ config.image_deleted }}" alt="" />
{% else %}