소스 검색

fixed word wrap

Josh 4 년 전
부모
커밋
71132bfe4a
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 4
      resources/views/app/patient/partials/dx-table-row.blade.php
  2. 1 1
      resources/views/app/patient/partials/dx-table.blade.php

+ 4 - 4
resources/views/app/patient/partials/dx-table-row.blade.php

@@ -3,10 +3,10 @@
         <td class="px-2">{{$line->content_text}}</td>
         <td class="px-2">{{ @$line->contentDetail()->{"ICD"} }}</td>
         <td class="px-2">{{ @$line->contentDetail()->{"Chronic or Acute"} }}</td>
-        <td class="px-2"><pre>{{ @$line->contentDetail()->{"Prognosis"} }}</pre></td>
-        <td class="px-2"><pre>{{ @$line->contentDetail()->{"History"} }}</pre></td>
-        <td class="px-2"><pre>{{ @$line->contentDetail()->{"Treatment Goal"} }}</pre></td>
-        <td class="px-2"><pre>{{ @$line->contentDetail()->{"Treatment Plan"} }}</pre></td>
+        <td class="px-2"><pre style="white-space:pre-wrap">{{ @$line->contentDetail()->{"Prognosis"} }}</pre></td>
+        <td class="px-2"><pre style="white-space:pre-wrap">{{ @$line->contentDetail()->{"History"} }}</pre></td>
+        <td class="px-2"><pre style="white-space:pre-wrap">{{ @$line->contentDetail()->{"Treatment Goal"} }}</pre></td>
+        <td class="px-2"><pre style="white-space:pre-wrap">{{ @$line->contentDetail()->{"Treatment Plan"} }}</pre></td>
         @if(@$showCreated)
         <td class="px-2">{{ $line->createdBySession && $line->createdBySession->pro ? $line->createdBySession->pro->displayName() : '-'}}</td>
         <td class="px-2">{{ friendly_date_time($line->created_at) }}</td>

+ 1 - 1
resources/views/app/patient/partials/dx-table.blade.php

@@ -74,7 +74,7 @@ foreach($dxInfoLines as $line) {
             </form>
         </div>
     </div>
-    <table class="table table-striped table-sm table-bordered mb-0">
+    <table class="table table-striped table-sm table-bordered mb-0" style="table-layout:fixed">
         <thead>
         <tr>
             <th class="px-2 text-secondary">Title</th>