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:
St John Karp 2018-10-08 10:04:31 -07:00
parent f873271675
commit 014228edc6
1 changed files with 10 additions and 8 deletions

View File

@ -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 -->