summaryrefslogtreecommitdiffstats
path: root/gitsrht/templates/refs.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-17 20:55:21 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-17 20:55:21 -0500
commit8e9083ccc57c9fce3dc51ec2820b52bc08dfa766 (patch)
treef7b8683afc0885d215e8d138923f38a1a691bdd9 /gitsrht/templates/refs.html
parent9a15bfb7bec07462f04b3d15f1318fac99b1b30a (diff)
Style fixes and add margin to branch buttons
Diffstat (limited to 'gitsrht/templates/refs.html')
-rw-r--r--gitsrht/templates/refs.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/gitsrht/templates/refs.html b/gitsrht/templates/refs.html
index 1a2a793..1043895 100644
--- a/gitsrht/templates/refs.html
+++ b/gitsrht/templates/refs.html
@@ -79,26 +79,26 @@
<div class="event">
{{name}}
{{ utils.commit_event(repo, commit, skip_body=True) }}
- <div class="row">
+ <div class="row" style="margin-top: 0.5rem">
<div class="col">
<a
href="{{url_for("repo.tree",
owner=repo.owner.canonical_name,
repo=repo.name, ref=name)}}"
class="btn btn-block {{ "btn-primary"
- if branch.name == git_repo.default_branch().name
- else "btn-default" }}"
+ if branch.name == git_repo.default_branch().name
+ else "btn-default" }}"
>browse {{icon("caret-right")}}</a>
- </div>
- <div class="col">
+ </div>
+ <div class="col">
<a
href="{{url_for("repo.log",
owner=repo.owner.canonical_name,
repo=repo.name, ref=name)}}"
class="btn btn-block btn-default"
>log {{icon("caret-right")}}</a>
- </div>
- </div>
+ </div>
+ </div>
</div>
{% endfor %}
</div>