From b3af1a452d58079342c879e09a970b2053f5c46c Mon Sep 17 00:00:00 2001 From: elimm Date: Tue, 23 Jan 2024 22:27:40 +0200 Subject: [PATCH] (fix) O3-2752: Encounter view UI fixes for RTL languages (#1596) * (fix) O3-2752: encounter view RTL alignment fix * (fix) O3-2752: remove global overrides --------- Co-authored-by: Andrey Y Co-authored-by: Dennis Kigen --- .../visit/visits-widget/encounter-observations/styles.scss | 6 ++++-- .../past-visits-components/visits-table/visits-table.scss | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/esm-patient-chart-app/src/visit/visits-widget/encounter-observations/styles.scss b/packages/esm-patient-chart-app/src/visit/visits-widget/encounter-observations/styles.scss index 8019122926..c53892eddc 100644 --- a/packages/esm-patient-chart-app/src/visit/visits-widget/encounter-observations/styles.scss +++ b/packages/esm-patient-chart-app/src/visit/visits-widget/encounter-observations/styles.scss @@ -4,11 +4,13 @@ display: grid; grid-template-columns: 1fr 1fr; grid-gap: spacing.$spacing-03; - margin: spacing.$spacing-05 spacing.$spacing-05 spacing.$spacing-05 0; + margin-block: spacing.$spacing-05; + margin-inline: 0 spacing.$spacing-05; } .observation > span { align-self: center; + justify-self: start; } .parentConcept { @@ -16,5 +18,5 @@ } .childConcept { - padding-left: 0.8rem; + padding-inline-start: 0.8rem; } diff --git a/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.scss b/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.scss index dd64bea97f..d5d554e98d 100644 --- a/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.scss +++ b/packages/esm-patient-chart-app/src/visit/visits-widget/past-visits-components/visits-table/visits-table.scss @@ -40,7 +40,7 @@ } .expandedRow { - padding-left: 3.5rem; + padding-inline-start: 3.5rem; > td { padding: inherit !important;