From f0925751045fab2b289836a32afd628f1f6a8704 Mon Sep 17 00:00:00 2001 From: David Benque Date: Mon, 27 Sep 2021 09:54:30 +0100 Subject: [PATCH] Adjust "export to spreadsheet" forms UI --- customize.dist/src/less2/include/forms.less | 3 --- www/form/inner.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/customize.dist/src/less2/include/forms.less b/customize.dist/src/less2/include/forms.less index 2eace9f29..30c2e9197 100644 --- a/customize.dist/src/less2/include/forms.less +++ b/customize.dist/src/less2/include/forms.less @@ -117,9 +117,6 @@ margin-right: 5px; } } - .cptools { - vertical-align: middle; - } color: @cp_buttons-fg; border: 1px solid @cp_buttons-fg; diff --git a/www/form/inner.js b/www/form/inner.js index 0920bfa5f..888a064e9 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -2638,9 +2638,9 @@ define([ }); // Export in "sheet" - Messages.form_exportSheet = "Export in spreadsheet"; // XXX + Messages.form_exportSheet = "Export to spreadsheet"; // XXX var export2Button = h('button.btn.btn-primary', [ - h('i.fa.fa-download'), + h('i.cptools.cptools-sheet'), Messages.form_exportSheet ]); $(export2Button).appendTo($controls);