summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-07-09 13:36:56 +0200
committerLibravatar GitHub <noreply@github.com>2022-07-09 13:36:56 +0200
commit8e68970258c38f0ed52796be4d9a447f268bed9c (patch)
tree4e2e98505ab565b24aaa97c092761075be296e32 /web/template
parent[docs] document the migration between local and s3 (#692) (diff)
downloadgotosocial-8e68970258c38f0ed52796be4d9a447f268bed9c.tar.xz
[frontend] Fix up status 'show more' and z-index (#701)
* put spoiler items in a flexbox * make the whole status top of z index this allows text to be selected properly * allow status spoiler text to break across lines
Diffstat (limited to 'web/template')
-rw-r--r--web/template/status.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/template/status.tmpl b/web/template/status.tmpl
index a6dcc30f8..f03fdbef6 100644
--- a/web/template/status.tmpl
+++ b/web/template/status.tmpl
@@ -6,7 +6,8 @@
{{if .SpoilerText}}
<input class="spoiler" id="hideSpoiler-{{.ID}}" type="checkbox" style="display: none" aria-hidden="true" checked="true" />
<div class="spoiler">
- <span>{{.SpoilerText}}</span><label class="button spoiler-label" for="hideSpoiler-{{.ID}}">Toggle visibility</label>
+ <span class="spoiler-text">{{.SpoilerText}}</span>
+ <label class="button spoiler-label" for="hideSpoiler-{{.ID}}">Toggle visibility</label>
</div>
{{end}}
<div class="content">