From 6377c69fcdb9924a4025e3ba477ef2d5a46a7d49 Mon Sep 17 00:00:00 2001 From: Vladislav Sokov Date: Mon, 18 Dec 2023 19:58:04 +0300 Subject: [PATCH] fix(madals): add margin --- app/views/spends/_modal.html.slim | 2 +- app/views/topups/_modal.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spends/_modal.html.slim b/app/views/spends/_modal.html.slim index ceacfb3..73e7432 100644 --- a/app/views/spends/_modal.html.slim +++ b/app/views/spends/_modal.html.slim @@ -5,7 +5,7 @@ .button.is-white.is-round.top-right-button.close-button figure.image.is-20x20 = image_tag('cross.svg', alt: 'X') - .modal-card-body + .modal-card-body.mx-3 = form_with url:false, method: :post, id: 'spend-form-with' do |f| .field.mt-2 = f.label :amount, "Amount to be deducted" diff --git a/app/views/topups/_modal.html.slim b/app/views/topups/_modal.html.slim index 07b4e23..c3d5c9d 100644 --- a/app/views/topups/_modal.html.slim +++ b/app/views/topups/_modal.html.slim @@ -4,7 +4,7 @@ .button.is-white.is-round.top-right-button.close-button figure.image.is-20x20 = image_tag('cross.svg', alt: 'X') - .modal-card-body + .modal-card-body.mx-3 = form_with url:false, method: :post, id: 'topup-form-with' do |f| .field.mt-2 = f.label :amount, "Amount to be added"