From 9bfd366ef897ec6eda51833f7485569c83114588 Mon Sep 17 00:00:00 2001 From: Zambom Date: Mon, 2 Oct 2017 22:24:55 -0300 Subject: [PATCH] Adjusting subject access button alignment --- amadeus/static/css/base/amadeus_responsive.css | 4 ++++ subjects/templates/subjects/subject_card.html | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/amadeus/static/css/base/amadeus_responsive.css b/amadeus/static/css/base/amadeus_responsive.css index 4ea6db4..9126428 100755 --- a/amadeus/static/css/base/amadeus_responsive.css +++ b/amadeus/static/css/base/amadeus_responsive.css @@ -236,6 +236,10 @@ font-family: Roboto; font-weight: normal; } + + .subject_access_btn { + text-align: center; + } } @media(min-width: 768px) { diff --git a/subjects/templates/subjects/subject_card.html b/subjects/templates/subjects/subject_card.html index d611051..9a739a1 100644 --- a/subjects/templates/subjects/subject_card.html +++ b/subjects/templates/subjects/subject_card.html @@ -81,13 +81,13 @@ {% if show_buttons %} {% if has_subject_view_permissions %} -
- {% trans "Access Subject" %} -
+
+ {% trans "Access Subject" %} +
{% elif subject.subscribe_end|aftertoday %} -
- -
+
+ +
{% else %} {% trans "This subject doesn't allow new subscriptions" %} -- libgit2 0.21.2