From 3d0752eefaf5d5c8ae8d97590759c9e694a19b3f Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Mon, 7 Jun 2021 17:32:15 +0300 Subject: [PATCH] Pixel perfect development edited --- public/css/custom.css | 21 ++++++++++++++++--- .../documents/form/line-item.blade.php | 4 +++- .../documents/form/totals.blade.php | 14 ++++++------- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index 623f468ab..e5d37c717 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -1634,9 +1634,14 @@ table .align-items-center td span.badge { /* Select Tag Fixed Content Finish */ /* Line item */ +.line-item-link-container { + height: 25px; +} + .line-item-link { display: flex; - padding-bottom:10px; + padding-bottom: 10px; + top: -12px; } .line-item-area { @@ -1648,7 +1653,17 @@ table .align-items-center td span.badge { .line-item-content { position: relative; width: 100%; - max-width:242px; + max-width: 242px; +} + +.line-item-content .form-group { + position: relative; +} + +.line-item-content .badge { + position: absolute !important; + bottom: 12px; + right: 0; } .line-item-content-right { @@ -1679,4 +1694,4 @@ table .align-items-center td span.badge { }} } -/* Line item */ \ No newline at end of file +/* Line item */ diff --git a/resources/views/components/documents/form/line-item.blade.php b/resources/views/components/documents/form/line-item.blade.php index 2a88de784..fb92771ba 100644 --- a/resources/views/components/documents/form/line-item.blade.php +++ b/resources/views/components/documents/form/line-item.blade.php @@ -134,7 +134,8 @@ @if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both'])) - - + @stack('tax_total_td_end') @@ -126,7 +126,7 @@ {{ Form::moneyGroup('grand_total', '', '', ['disabled' => 'true' , 'row-input' => 'true', 'v-model' => 'totals.total', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money'], 0.00, 'text-right disabled-money') }} - + @stack('grand_total_td_end') @@ -141,7 +141,7 @@ :currency-rate="form.currency_rate" > - + @stack('currency_conversion_td_end')