From 600cca564d1a6a949141ebb217c24a94d105a908 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 2 Sep 2021 12:16:01 +0200 Subject: [PATCH] Fix button icons --- customize.dist/src/less2/include/forms.less | 2 +- www/form/inner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/customize.dist/src/less2/include/forms.less b/customize.dist/src/less2/include/forms.less index 96fe3f761..2eace9f29 100644 --- a/customize.dist/src/less2/include/forms.less +++ b/customize.dist/src/less2/include/forms.less @@ -113,7 +113,7 @@ transition: none; i, .fa, .cptools { - &:not(:last-child) { + &:not(.nomargin) { margin-right: 5px; } } diff --git a/www/form/inner.js b/www/form/inner.js index fe4482b85..0bc11822a 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -3920,7 +3920,7 @@ define([ framework.localChange(); refreshEndDate(); }); - var cancel = h('button.btn.btn-danger', h('i.fa.fa-times')); + var cancel = h('button.btn.btn-danger', h('i.fa.fa-times.nomargin')); $(cancel).click(function () { refreshEndDate(); });