From 798fa81cc970210a5a9814346eab98512211b38b Mon Sep 17 00:00:00 2001 From: BTMS2 Date: Tue, 11 Mar 2025 11:39:38 +0800 Subject: [PATCH] update alamat new line --- resources/views/pdf/jananotis_new.blade.php | 17 +++++++++++------ .../views/pdf/jananotisfasa2_new.blade.php | 10 +++++++++- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/resources/views/pdf/jananotis_new.blade.php b/resources/views/pdf/jananotis_new.blade.php index dd79bf05..95ab01cc 100644 --- a/resources/views/pdf/jananotis_new.blade.php +++ b/resources/views/pdf/jananotis_new.blade.php @@ -123,12 +123,17 @@ .page-break { page-break-before: always; } + + .alamat { + width: 300px; /* Adjust as needed */ + word-wrap: break-word; /* Allows long words to break */ + overflow-wrap: break-word; /* Ensures wrapping */ + white-space: normal; /* Prevents text from staying in a single line */ +} + + @foreach($marhuns as $index1=> $notis) -{{-- {{dd($notis['nama']['alamat1'])}} --}} - - -
@@ -137,7 +142,7 @@ - + @@ -202,7 +207,7 @@ - diff --git a/resources/views/pdf/jananotisfasa2_new.blade.php b/resources/views/pdf/jananotisfasa2_new.blade.php index 1a1b349a..4d0d68f5 100644 --- a/resources/views/pdf/jananotisfasa2_new.blade.php +++ b/resources/views/pdf/jananotisfasa2_new.blade.php @@ -123,6 +123,14 @@ .page-break { page-break-before: always; } + .alamat { + width: 300px; /* Adjust as needed */ + word-wrap: break-word; /* Allows long words to break */ + overflow-wrap: break-word; /* Ensures wrapping */ + white-space: normal; /* Prevents text from staying in a single line */ + } + + @foreach($marhuns as $index1=> $notis) {{-- {{dd($notis['nama']['alamat1'])}} --}} @@ -199,7 +207,7 @@ -