Skip to content

Commit 89b997e

Browse files
committed
preline description
1 parent 89da32c commit 89b997e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

resources/views/default.blade.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@
173173
.has-border-bottom-light {
174174
border-bottom: 1px solid #f4f4f4;
175175
}
176+
177+
.preline {
178+
white-space: pre-line;
179+
}
176180
</style>
177181
</head>
178182

@@ -436,7 +440,7 @@
436440

437441
@if ($invoice->description)
438442
<p class="mb-1"><strong>{{ __('invoices::invoice.description') }}</strong></p>
439-
<p>{!! $invoice->description !!}</p>
443+
<p class="preline">{!! $invoice->description !!}</p>
440444
@endif
441445

442446
</div>

0 commit comments

Comments
 (0)