mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 13:32:25 -05:00
[frogend/bugfix] fix dynamicSpoiler elements (#1771)
This commit is contained in:
parent
b315aa10c8
commit
66df974143
2 changed files with 17 additions and 19 deletions
|
|
@ -55,7 +55,7 @@
|
|||
{{range $index, $media := .}}
|
||||
{{with $media}}
|
||||
<div class="media-wrapper">
|
||||
<details class="{{.Type}}-spoiler" {{if not $.Sensitive}}open{{end}}>
|
||||
<details class="{{.Type}}-spoiler media-spoiler" {{if not $.Sensitive}}open{{end}}>
|
||||
<summary>
|
||||
<div class="show sensitive button" aria-hidden="true">
|
||||
Show sensitive media
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue