diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-24 15:11:48 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-24 15:11:48 +0530 |
commit | 845cce8ea7f1a12046b6c022d4b195c19fd69583 (patch) | |
tree | ee40bdeba3ca5f85d3f98c6f2d07521388c59ee7 | |
parent | 08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1 (diff) | |
download | legit-845cce8ea7f1a12046b6c022d4b195c19fd69583.tar.gz legit-845cce8ea7f1a12046b6c022d4b195c19fd69583.tar.bz2 legit-845cce8ea7f1a12046b6c022d4b195c19fd69583.zip |
css: lose grid layout in refs
-rw-r--r-- | static/style.css | 10 | ||||
-rw-r--r-- | templates/refs.html | 8 |
2 files changed, 6 insertions, 12 deletions
diff --git a/static/style.css b/static/style.css index edb3538..a51ef34 100644 --- a/static/style.css +++ b/static/style.css @@ -213,16 +213,14 @@ a:hover { padding-top: 0.7em; } -.refs { - display: grid; - grid-template-columns: 1fr 1fr; - align-items: center; -} - .refs pre { white-space: pre-wrap; } +.refs strong { + padding-right: 1em; +} + .line-numbers { white-space: pre-line; -moz-user-select: -moz-none; diff --git a/templates/refs.html b/templates/refs.html index 503a41e..8480856 100644 --- a/templates/refs.html +++ b/templates/refs.html @@ -16,8 +16,6 @@ {{ range .branches }} <div> <strong>{{ .Name.Short }}</strong> - </div> - <div> <a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a> <a href="/{{ $name }}/log/{{ .Name.Short }}">log</a> </div> @@ -29,12 +27,10 @@ {{ range .tags }} <div> <strong>{{ .Name }}</strong> - {{ if .Message }} - <pre>{{ .Message }}</pre> - </div> - <div> <a href="/{{ $name }}/tree/{{ .Name }}/">browse</a> <a href="/{{ $name }}/log/{{ .Name }}">log</a> + {{ if .Message }} + <pre>{{ .Message }}</pre> </div> {{ end }} {{ end }} |