From 4186fe21d5556eb0869d77207cbfd66520374a2d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 29 Apr 2020 10:20:16 -0400 Subject: [PATCH] Add margin to headers in project summaries --- hubsrht/templates/project-summary.html | 2 +- scss/main.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hubsrht/templates/project-summary.html b/hubsrht/templates/project-summary.html index 8b3682d..86ae7b6 100644 --- a/hubsrht/templates/project-summary.html +++ b/hubsrht/templates/project-summary.html @@ -139,7 +139,7 @@
{% if project.summary_repo_id != None %} -
+
{% if current_user and current_user.id == project.owner_id and not summary and not summary_error %}
diff --git a/scss/main.scss b/scss/main.scss index 14a9e88..24d2339 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -109,3 +109,11 @@ display: inline; width: inherit; } + +.project-summary { + h2, h3, h4 { + &:not(:first-child) { + margin-top: 2rem; + } + } +}