From 2fc4cc48e210db049fe151d27d7a796b1cce9e26 Mon Sep 17 00:00:00 2001 From: Laurent Morvillier Date: Mon, 14 Oct 2019 10:59:26 +0200 Subject: [PATCH] More small UI improvements --- news/static/news/css/app.css | 5 ++++- news/templates/news/index.html | 2 +- news/templates/news/post.html | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/news/static/news/css/app.css b/news/static/news/css/app.css index ea301d2..8a8df1a 100644 --- a/news/static/news/css/app.css +++ b/news/static/news/css/app.css @@ -146,8 +146,11 @@ a h1 { .lat_padding { padding: 0px 8px; } +.lat_padding_contextual { + padding: 0px 8px; +} @media print, screen and (min-width: 40em) { - .lat_padding { + .lat_padding_contextual { padding: 0px; } } diff --git a/news/templates/news/index.html b/news/templates/news/index.html index b3c40f8..c7afae7 100644 --- a/news/templates/news/index.html +++ b/news/templates/news/index.html @@ -12,7 +12,7 @@
-
+
{{ post.date }} - {{ post.author.username }}
diff --git a/news/templates/news/post.html b/news/templates/news/post.html index f3c6197..dd47c05 100644 --- a/news/templates/news/post.html +++ b/news/templates/news/post.html @@ -45,7 +45,6 @@
- {% if user.is_authenticated %}
{% csrf_token %}