mirror of https://git.stjo.hn/planiverse
Wrap status contents in a div
Statuses don't always start/end with block elements, which can cause them to join up with the previous or next lines of text. I've wrapped them in a div to make sure they're properly separated.
This commit is contained in:
parent
f873271675
commit
014228edc6
|
@ -7,17 +7,19 @@
|
|||
])
|
||||
@endcomponent
|
||||
|
||||
@if ($status['spoiler_text'] !== '')
|
||||
<details>
|
||||
<summary>{{ $status['spoiler_text'] }}</summary>
|
||||
<div>
|
||||
@if ($status['spoiler_text'] !== '')
|
||||
<details>
|
||||
<summary>{{ $status['spoiler_text'] }}</summary>
|
||||
|
||||
@component('status_content', ['status' => $status])
|
||||
@endcomponent
|
||||
</details>
|
||||
@else
|
||||
@component('status_content', ['status' => $status])
|
||||
@endcomponent
|
||||
</details>
|
||||
@else
|
||||
@component('status_content', ['status' => $status])
|
||||
@endcomponent
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<!-- Context -->
|
||||
|
|
Loading…
Reference in New Issue