word-wrap何もしてなかった

This commit is contained in:
shibafu 2017-11-05 19:31:50 +09:00
parent 94918fc337
commit 016d4d8e3f
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@
background: linear-gradient(to bottom, #f8f9fa, #fff) background: linear-gradient(to bottom, #f8f9fa, #fff)
} }
.tis-word-wrap {
word-wrap: break-word;
}
.list-group-item.border-bottom-only { .list-group-item.border-bottom-only {
border-left: none; border-left: none;
border-right: none; border-right: none;

View File

@ -40,7 +40,7 @@
--}} --}}
<!-- note --> <!-- note -->
@if (!empty($ejaculation->note)) @if (!empty($ejaculation->note))
<p class="mb-0"> <p class="mb-0 tis-word-wrap">
{!! Formatter::linkify(nl2br(e($ejaculation->note))) !!} {!! Formatter::linkify(nl2br(e($ejaculation->note))) !!}
</p> </p>
@endif @endif