From 7c5e10f209c2319881359e61546ce1f73d1b3115 Mon Sep 17 00:00:00 2001 From: DominikNoga Date: Mon, 9 Sep 2024 15:05:47 +0200 Subject: [PATCH] OIS-24: improved styles that were not supporting RTL --- .../_physical-inventory-draft.scss | 6 +++--- src/stock-reasons-modal/_stock-reasons.scss | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/stock-physical-inventory-draft/_physical-inventory-draft.scss b/src/stock-physical-inventory-draft/_physical-inventory-draft.scss index 538a31e6..e61c3846 100644 --- a/src/stock-physical-inventory-draft/_physical-inventory-draft.scss +++ b/src/stock-physical-inventory-draft/_physical-inventory-draft.scss @@ -1,10 +1,10 @@ .physical-inventory-draft-progress { - margin-left: 0; + @include margin-left(0); } .reasons-cell { - padding-right: 0.5em !important; + @include padding-right(0.5em); &:before { content: '' !important; @@ -13,6 +13,6 @@ .draft-indicator { display: block; - float: right; + @include float(right); margin-top: 1em; } diff --git a/src/stock-reasons-modal/_stock-reasons.scss b/src/stock-reasons-modal/_stock-reasons.scss index baf07035..894c809e 100644 --- a/src/stock-reasons-modal/_stock-reasons.scss +++ b/src/stock-reasons-modal/_stock-reasons.scss @@ -12,18 +12,18 @@ dl > dd { flex: 0 0 auto; white-space: nowrap; - text-align: right; + @include text-align(right); } } td stock-reasons > button { width: 100%; - text-align: left; + @include text-align(left); display: flex; justify-content: flex-start; &.add::before, &.edit::before { - text-align: left; + @include text-align(left); } &.edit { @@ -38,8 +38,8 @@ td stock-reasons > button { content: "\f06a"; font-family: FontAwesome; display: inline-block; - margin-left: 0.5em; + @include margin-left(0.5em); flex-grow: 1; - text-align: right; + @include text-align(right); } }