1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 12:23:48 +01:00

Style update to fix squished words on mobile

This commit is contained in:
8chan 2015-03-06 02:03:18 -08:00
parent 0f6bf1bac6
commit 29d411b058
3 changed files with 9 additions and 2 deletions

View File

@ -304,6 +304,10 @@ div.post.reply {
max-width: 94%!important;
}
div.post.reply.has-file.body-not-empty {
min-width: 33%;
}
div.post_modified {
margin-left: 1.8em;
}
@ -749,6 +753,9 @@ pre {
.theme-catalog div.threads {
overflow: hidden;
}
div.post .body {
clear: both;
}
}
.compact-boardlist {

View File

@ -1,6 +1,6 @@
{% filter remove_whitespace %}
{# tabs and new lines will be ignored #}
<div class="post reply" id="reply_{{ post.id }}">
<div class="post reply{% if post.files %} has-file{% endif %}{% if post.body_nomarkup %} body-not-empty{% endif %}" id="reply_{{ post.id }}">
<p class="intro">
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />

View File

@ -5,7 +5,7 @@
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
{% include 'post/fileinfo.html' %}
<div class="post op" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro">
<div class="post op{% if post.files %} has-file{% endif %}{% if post.body_nomarkup %} body-not-empty{% endif %}" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro">
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
<label for="delete_{{ post.id }}">
{% include 'post/subject.html' %}