minor UI improvements

master
Laurent Morvillier 6 years ago
parent de50d9b4e9
commit 63afd47962
  1. 9
      news/static/news/css/app.css
  2. 11
      news/templates/news/post.html

@ -143,15 +143,6 @@ a h1 {
}
}
/* .post_padding h1 {
line-height: 100%;
}
@media print, screen and (min-width: 40em) {
.post_padding h1 {
line-height: 70%;
}
} */
.lat_padding {
padding: 0px 8px;
}

@ -6,6 +6,8 @@
{% block content %}
<article>
<div class="post_padding">
{% if post.style == 1 %}
@ -36,8 +38,14 @@
{{ post.body }}
</p>
{% endif %}
</article>
<br/>
<div class="lat_padding">
{% if user.is_authenticated %}
<form action="{% url 'news:comment' post.id %}" method="post">
{% csrf_token %}
@ -116,4 +124,7 @@
</div>
</div>
{% endblock content %}

Loading…
Cancel
Save