From 480eaf460abdf993d6c767f62e11f82dbc5fa517 Mon Sep 17 00:00:00 2001 From: jpr-odoo Date: Tue, 21 Nov 2017 17:25:01 +0530 Subject: [PATCH] [FIX] payment: reduce margins to have same height then options without payment icons) and label align centered on the vertical axis --- addons/payment/static/src/less/payment_form.less | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/payment/static/src/less/payment_form.less b/addons/payment/static/src/less/payment_form.less index b5aeb2e928e..5e3bb794160 100644 --- a/addons/payment/static/src/less/payment_form.less +++ b/addons/payment/static/src/less/payment_form.less @@ -1,6 +1,6 @@ .o_payment_form { label > input[type="radio"], input[type="checkbox"]{ - vertical-align: bottom; + vertical-align: top; margin-right: 5px; } @@ -14,6 +14,7 @@ label { font-weight: normal; + margin-top: 5px; } .panel-body:first-child { @@ -35,16 +36,18 @@ } .payment_icon_list { + position: relative; li { padding-left: 5px !important; padding-right: 0px !important; } .more_option { + .o-position-absolute(@right: 0px, @bottom: -10px); font-size:10px; } margin-top: 0px !important; margin-bottom: -5px !important; } -} \ No newline at end of file +}