Kaynağa Gözat

Reduce wiz popups' width a little

Vijayakrishnan 3 yıl önce
ebeveyn
işleme
e4d5ba4ec4

+ 3 - 0
public/css/style.css

@@ -1152,6 +1152,9 @@ body .node input[type="number"] {
 .stag-popup.medium>form, .stag-popup.medium>.stag-popup-content {
     width: calc(80vw - 4rem);
 }
+.stag-popup.medium-large>form, .stag-popup.medium-large>.stag-popup-content {
+    width: 90vw;
+}
 .stag-popup.wide>form, .stag-popup.wide>.stag-popup-content {
     width: calc(100vw - 4rem);
 }

+ 6 - 6
resources/views/app/patient/note/dashboard.blade.php

@@ -2429,7 +2429,7 @@
                                  open-in-stag-popup
                                  mc-initer="medications-center-{{$note->id}}"
                                  title="Medications Center"
-                                 popup-style="wide overflow-visible"
+                                 popup-style="medium-large overflow-visible"
                                  href="/medications-center/{{$patient->uid}}/{{$note->uid}}">
                                 <i class="fa fa-bolt mr-1"></i>
                                 <span>Rx</span>
@@ -2441,7 +2441,7 @@
                                  open-in-stag-popup
                                  mc-initer="supplements-center-{{$note->id}}"
                                  title="Supplements Center"
-                                 popup-style="wide overflow-visible"
+                                 popup-style="medium-large overflow-visible"
                                  href="/supplements-center/{{$patient->uid}}/{{$note->uid}}">
                                 <i class="fa fa-bolt mr-1"></i>
                                 <span>Supp.</span>
@@ -2453,7 +2453,7 @@
                                  open-in-stag-popup
                                  mc-initer="problems-center-{{$note->id}}"
                                  title="Problems Center"
-                                 popup-style="wide overflow-visible"
+                                 popup-style="medium-large overflow-visible"
                                  href="/problems-center/{{$patient->uid}}/{{$note->uid}}">
                                 <i class="fa fa-bolt mr-1"></i>
                                 <span>Dx</span>
@@ -2465,7 +2465,7 @@
                                  open-in-stag-popup
                                  mc-initer="goals-center-{{$note->id}}"
                                  title="Goals Center"
-                                 popup-style="wide overflow-visible"
+                                 popup-style="medium-large overflow-visible"
                                  href="/goals-center/{{$patient->uid}}/{{$note->uid}}">
                                 <i class="fa fa-bolt mr-1"></i>
                                 <span>Goals</span>
@@ -2477,7 +2477,7 @@
                                  open-in-stag-popup
                                  mc-initer="allergies-center-{{$note->id}}"
                                  title="Allergies Center"
-                                 popup-style="wide overflow-visible"
+                                 popup-style="medium-large overflow-visible"
                                  href="/allergies-center/{{$patient->uid}}/{{$note->uid}}">
                                 <i class="fa fa-bolt mr-1"></i>
                                 <span>Allergies</span>
@@ -2489,7 +2489,7 @@
                                  open-in-stag-popup
                                  mc-initer="careteam-center-{{$note->id}}"
                                  title="Careteam Center"
-                                 popup-style="wide overflow-visible"
+                                 popup-style="medium-large overflow-visible"
                                  href="/careteam-center/{{$patient->uid}}/{{$note->uid}}">
                                 <i class="fa fa-bolt mr-1"></i>
                                 <span>Care Team</span>

+ 4 - 26
resources/views/app/patient/note/rhs-sidebar.blade.php

@@ -12,7 +12,7 @@
          open-in-stag-popup
          mc-initer="allergies-center-{{$note->id}}"
          title="Allergies Center"
-         popup-style="wide overflow-visible"
+         popup-style="medium-large overflow-visible"
          href="/allergies-center/{{$patient->uid}}/{{$note->uid}}">
         <div class="font-weight-bold mb-2">
             Allergies
@@ -42,7 +42,7 @@
          open-in-stag-popup
          mc-initer="medications-center-{{$note->id}}"
          title="Medications Center"
-         popup-style="wide overflow-visible"
+         popup-style="medium-large overflow-visible"
          href="/medications-center/{{$patient->uid}}/{{$note->uid}}">
         <div class="font-weight-bold mb-2">
             Medications
@@ -65,33 +65,11 @@
             @endif
         @endif
     </div>
-    <div id="active-supplements" class="p-2 border-bottom c-pointer on-hover-aliceblue"
-         open-in-stag-popup
-         mc-initer="supplements-center-{{$note->id}}"
-         title="Supplements Center"
-         popup-style="wide overflow-visible"
-         href="/supplements-center/{{$patient->uid}}/{{$note->uid}}">
-        <div class="font-weight-bold mb-2">
-            Supplements
-            <i class="fa fa-bolt text-primary ml-1"></i>
-        </div>
-        @if($supplements && count($supplements))
-            @foreach($supplements as $supplement)
-                <?php $rel = $supplement->relevanceToNote($note); ?>
-                <div class="d-inline-flex align-items-baseline px-1 {{$rel ? 'bg-warning-mellow' : ''}}">
-                    <span class="mr-1">•</span>
-                    <span>{{$supplement->data->name}}</span>
-                </div>
-            @endforeach
-        @else
-            <span class="px-1 text-secondary">None</span>
-        @endif
-    </div>
     <div id="active-problems" class="p-2 border-bottom c-pointer on-hover-aliceblue"
          open-in-stag-popup
          mc-initer="problems-center-{{$note->id}}"
          title="Problems Center"
-         popup-style="wide overflow-visible"
+         popup-style="medium-large overflow-visible"
          href="/problems-center/{{$patient->uid}}/{{$note->uid}}">
         <div class="font-weight-bold mb-2">
             Problems
@@ -113,7 +91,7 @@
          open-in-stag-popup
          mc-initer="goals-center-{{$note->id}}"
          title="Goals Center"
-         popup-style="wide overflow-visible"
+         popup-style="medium-large overflow-visible"
          href="/goals-center/{{$patient->uid}}/{{$note->uid}}">
         <div class="font-weight-bold mb-2">
             Goals

+ 1 - 1
resources/views/app/patient/point-based-partials/rx.blade.php

@@ -15,7 +15,7 @@ $medications = \App\Models\Point::getPointsOfCategory($patient, "MEDICATION");
                update-parent
                mc-initer="medications-center-{{$patient->coreNote->id}}"
                title="Medications Center"
-               popup-style="wide overflow-visible"
+               popup-style="medium-large overflow-visible"
                href="/medications-center/{{$patient->uid}}/{{$patient->coreNote->uid}}">
                 <i class="fa fa-bolt mr-1"></i>
                 <span>Manage</span>