diff --git a/theme/assets/website/app.js b/theme/assets/website/app.js
index <HASH>..<HASH> 100644
--- a/theme/assets/website/app.js
+++ b/theme/assets/website/app.js
@@ -24922,7 +24922,7 @@ function updateButton(opts) {
     // Create button
     var $btn = $('<a>', {
         '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 <HASH>..<HASH> 100644
--- a/theme/javascript/toolbar.js
+++ b/theme/javascript/toolbar.js
@@ -117,7 +117,7 @@ function updateButton(opts) {
     // Create button
     var $btn = $('<a>', {
         'class': 'btn',
-        'text': opts.text,
+        'text': opts.text? ' ' + opts.text : '',
         'aria-label': opts.label,
         'href': '#'
     });
Correctly show space between toolbar icon and text in buttons