mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user