Add margin to headers in project summaries

This commit is contained in:
Drew DeVault 2020-04-29 10:20:16 -04:00
parent 15280eb32f
commit 4186fe21d5
2 changed files with 9 additions and 1 deletions

View File

@ -139,7 +139,7 @@
</div>
<div class="row">
{% if project.summary_repo_id != None %}
<div class="col-md-10">
<div class="col-md-10 project-summary">
{% if current_user and current_user.id == project.owner_id
and not summary and not summary_error %}
<div class="alert alert-danger">

View File

@ -109,3 +109,11 @@
display: inline;
width: inherit;
}
.project-summary {
h2, h3, h4 {
&:not(:first-child) {
margin-top: 2rem;
}
}
}