From 84978d3a6ceb44dbc54edf5c2af47ad16f630932 Mon Sep 17 00:00:00 2001 From: Usama Idriss Kakumba <53287480+usamaidrsk@users.noreply.github.com> Date: Sat, 16 Dec 2023 20:22:17 +0300 Subject: [PATCH] (fix) O3-2651: Fix some spacing and alignment issues in the Patient Chart (#1536) Co-authored-by: Vineet Sharma --- .../appointments/appointments-action-menu.component.tsx | 2 +- .../attachments/attachments-table-overview.component.tsx | 2 +- .../src/attachments/attachments-table-overview.scss | 2 +- packages/esm-patient-chart-app/src/root.scss | 5 ----- .../visits-table/visits-table.component.tsx | 1 + .../src/conditions/conditions-action-menu.component.tsx | 2 +- .../components/medications-details-table.component.tsx | 8 +++++++- .../src/components/orders-details-table.component.tsx | 8 +++++++- 8 files changed, 19 insertions(+), 11 deletions(-) diff --git a/packages/esm-patient-appointments-app/src/appointments/appointments-action-menu.component.tsx b/packages/esm-patient-appointments-app/src/appointments/appointments-action-menu.component.tsx index ddd1b12acb..b3b839ae25 100644 --- a/packages/esm-patient-appointments-app/src/appointments/appointments-action-menu.component.tsx +++ b/packages/esm-patient-appointments-app/src/appointments/appointments-action-menu.component.tsx @@ -36,7 +36,7 @@ export const AppointmentsActionMenu = ({ appointment, patientUuid }: appointment return ( - + = ({ {cell.value?.content ?? cell.value} ))} - + .cds--data-table-header { display: none; -} +} .link { text-decoration: none; diff --git a/packages/esm-patient-chart-app/src/root.scss b/packages/esm-patient-chart-app/src/root.scss index 4b008cb1be..e2e7705cf7 100644 --- a/packages/esm-patient-chart-app/src/root.scss +++ b/packages/esm-patient-chart-app/src/root.scss @@ -20,11 +20,6 @@ scrollbar-width: none; } - ::-webkit-scrollbar { - width: 0px; - background-color: transparent - } - :global(.cds--side-nav__overlay-active) { background-color: transparent; } diff --git a/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.component.tsx b/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.component.tsx index 7c393f59f8..783abd3ff4 100644 --- a/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.component.tsx +++ b/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.component.tsx @@ -254,6 +254,7 @@ const VisitTable: React.FC = ({ showAllEncounters, visits, pati aria-label="Encounter table actions menu" size={desktopLayout ? 'sm' : 'lg'} flipped + align="left" > - + + {showModifyButton && ( +