From 68ed2631dc0e2436d9b268948aaa7d50ea9fe1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Mon, 2 Nov 2015 17:16:43 +0100 Subject: [PATCH] Correctly show space between toolbar icon and text in buttons --- theme/assets/website/app.js | 2 +- theme/javascript/toolbar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/assets/website/app.js b/theme/assets/website/app.js index 1e8d3c85f..2434ad2da 100644 --- a/theme/assets/website/app.js +++ b/theme/assets/website/app.js @@ -24922,7 +24922,7 @@ function updateButton(opts) { // Create button var $btn = $('', { 'class': 'btn', - 'text': opts.text, + 'text': opts.text? ' ' + opts.text : '', 'aria-label': opts.label, 'href': '#' }); diff --git a/theme/javascript/toolbar.js b/theme/javascript/toolbar.js index de30493ba..647578f29 100644 --- a/theme/javascript/toolbar.js +++ b/theme/javascript/toolbar.js @@ -117,7 +117,7 @@ function updateButton(opts) { // Create button var $btn = $('', { 'class': 'btn', - 'text': opts.text, + 'text': opts.text? ' ' + opts.text : '', 'aria-label': opts.label, 'href': '#' });