From 845cce8ea7f1a12046b6c022d4b195c19fd69583 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sat, 24 Dec 2022 15:11:48 +0530 Subject: [PATCH] css: lose grid layout in refs --- static/style.css | 10 ++++------ 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 }}
{{ .Name.Short }} -
-
browse log
@@ -29,12 +27,10 @@ {{ range .tags }}
{{ .Name }} - {{ if .Message }} -
{{ .Message }}
-
-
browse log + {{ if .Message }} +
{{ .Message }}
{{ end }} {{ end }}