Procházet zdrojové kódy

Line spacing updates

Vijayakrishnan Krishnan před 4 roky
rodič
revize
dde2299119

+ 7 - 1
public/css/style.css

@@ -202,6 +202,9 @@ body>nav.navbar {
 .mcp-theme-1 .min-width-200px {
     min-width: 200px;
 }
+.mcp-theme-1 .min-width-300px {
+    min-width: 300px;
+}
 .mcp-theme-1 .width-100px {
     width: 100px;
     min-width: unset !important;
@@ -268,7 +271,7 @@ body>nav.navbar {
 }
 .rte-holder .ql-container p {
     margin-top: 0;
-    margin-bottom: 1rem;
+    margin-bottom: 0.3rem;
 }
 
 .note-section:not(.edit) .if-not-edit {
@@ -287,6 +290,9 @@ body>nav.navbar {
 .c-pointer {
     cursor: pointer;
 }
+.inset-comment p {
+    margin-bottom: 0.3rem;
+}
 .inset-comment p:last-child {
     margin-bottom: 0 !important;
 }

+ 1 - 1
storage/sections/assessment/actions.php

@@ -19,7 +19,7 @@ endforeach;
 <div moe class="position-relative d-none if-edit ml-3 pl-3 border-left">
     <a start show href="#">Include from Symptoms</a>
     <form url="/no-op" class="current-symptoms-form">
-        <div class="min-width-200px">
+        <div class="min-width-300px">
             <?= implode("", $rows) ?>
             <div class="mt-2 mb-0">
                 <button class="btn btn-primary btn-sm mr-1" type="button" onclick="return applySelectedSymptoms()">Apply</button>

+ 2 - 2
storage/sections/medication/default.php

@@ -6,9 +6,9 @@ global $defaultData;
 foreach($infoLines as $category => $lines):
     if($category === "rx"):
         foreach ($lines as $line):
-            $value[] = '<b>' . $line->contentText . '</b> ';
+            $value[] = '<p><b>' . $line->contentText . '</b> ';
             $value[] = @$line->contentDetail->strength;
-            $value[] = '<br>';
+            $value[] = '</p>';
         endforeach;
     endif;
 endforeach;