diff --git a/ws/static/home.html b/ws/static/home.html index 258b664a990bc934fdcd11d4eb0e20d341536c68..04ccf002e0a392723c47246e5d459336f197f054 100644 --- a/ws/static/home.html +++ b/ws/static/home.html @@ -71,7 +71,7 @@

Release notes

{{- range . -}}
-

{{ .Name }}: release notes for {{ (index .Releases 0).Tag }}

+

{{ .Name }}: release notes for {{ (index .Releases 0).Tag }}

{{- if eq .Forge "github" "gitea" "forgejo" -}} {{- (index .Releases 0).Content -}} {{- else -}} @@ -80,6 +80,7 @@ {{- end -}}

Back to project

+
{{- end -}} diff --git a/ws/static/styles.css b/ws/static/styles.css index 11a09ee42c6a68ace6801bc466e8d8ce6a136b2a..6beca58e13454bb8b72d9e42708db7f53e45bf97 100644 --- a/ws/static/styles.css +++ b/ws/static/styles.css @@ -116,6 +116,7 @@ a:visited { } .card { + position: relative; border: 2px solid var(--card-border); background: var(--card-background); border-radius: 5px; @@ -136,12 +137,23 @@ a:visited { margin-bottom: 16px; } -.close, .delete { float: right; } -.delete { font-size: 12px; } +.delete { + float: right; + font-size: 12px; +} + +.close { + position: absolute; + top: 2px; + right: 3px; +} + .close > a { - text-decoration: none; - color: var(--card-border); + font-size: 1em; + text-decoration: none; + color: var(--card-border); } + @media (prefers-color-scheme: dark) { .close > a { color: var(--text);