diff --git a/customize.dist/src/less/toolbar.less b/customize.dist/src/less/toolbar.less index e4549cb0b..9154b2d72 100644 --- a/customize.dist/src/less/toolbar.less +++ b/customize.dist/src/less/toolbar.less @@ -243,8 +243,10 @@ vertical-align: top; display: inline-block; } - span.fa { - vertical-align: baseline; + button { + span.fa { + vertical-align: baseline; + } } @media screen and (max-width: @media-narrow-screen) { top: 3em; @@ -313,11 +315,11 @@ text-align: right; } .cryptpad-spinner { - display: inline-block; - height: 26px; - margin: 2px; - line-height: 26px; - font-size: 20px; + height: 16px; + width: 16px; + margin: 8px; + line-height: 16px; + font-size: 16px; } .cryptpad-readonly { margin-right: 5px; diff --git a/customize.dist/toolbar.css b/customize.dist/toolbar.css index 7b44d316f..65439df59 100644 --- a/customize.dist/toolbar.css +++ b/customize.dist/toolbar.css @@ -290,7 +290,7 @@ vertical-align: top; display: inline-block; } -.cryptpad-toolbar-top .cryptpad-user span.fa { +.cryptpad-toolbar-top .cryptpad-user button span.fa { vertical-align: baseline; } @media screen and (max-width: 400px) { @@ -364,11 +364,11 @@ text-align: right; } .cryptpad-spinner { - display: inline-block; - height: 26px; - margin: 2px; - line-height: 26px; - font-size: 20px; + height: 16px; + width: 16px; + margin: 8px; + line-height: 16px; + font-size: 16px; } .cryptpad-readonly { margin-right: 5px; diff --git a/www/common/toolbar.js b/www/common/toolbar.js index 3b055d3e3..32f96e91d 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -43,7 +43,6 @@ define([ var LOCALSTORAGE_DISALLOW = Bar.constants.localstorageDisallow = 'cryptpad-disallow'; var SPINNER_DISAPPEAR_TIME = 3000; - var SPINNER = [ '-', '\\', '|', '/' ]; var uid = function () { return 'cryptpad-uid-' + String(Math.random()).substring(2); @@ -80,21 +79,19 @@ define([ }; var createSpinner = function ($container) { - var $spinner = $('