From 09171e66b384546d31b886d404cb38fb925438ea Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Thu, 4 Aug 2022 10:01:08 +0300 Subject: [PATCH] amount styling for RTL --- public/css/print.css | 17 ++++++++++++++++- .../transactions/template/default.blade.php | 7 ++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/public/css/print.css b/public/css/print.css index 32e5c5a80..738af5d3e 100644 --- a/public/css/print.css +++ b/public/css/print.css @@ -68,11 +68,26 @@ html[dir='rtl'] .right-column { margin-top: 8px; } -.print-template .ml-1 +html[dir='ltr'] .print-template .ml-1 { margin-left: 8px; } +html[dir='rtl'] .print-template .ml-1 +{ + margin-right: 8px; +} + +html[dir='ltr'] .print-template .ml-2 +{ + margin-right: 16px; +} + +html[dir='rtl'] .print-template .ml-2 +{ + margin-left: 16px; +} + .pl-head { padding-left: 18px; diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index f5137ada9..1af4ee0a4 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -368,11 +368,8 @@ - - -
- {{ trans($textAmount) }} - + + {{ trans($textAmount) }} @money($transaction->amount, $transaction->currency_code, true)