diff --git a/ident_switch-switch.js b/ident_switch-switch.js index e19a70d..c80f42f 100644 --- a/ident_switch-switch.js +++ b/ident_switch-switch.js @@ -99,14 +99,14 @@ function plugin_switchIdent_addCbElastic($wrapper, $sw) { } $sw.css({ - 'background': 'transparent', + 'background-color': 'transparent', 'border': 'none', 'font-weight': 'bold', 'color': 'inherit', 'box-shadow': 'none', 'max-width': '200px', 'text-overflow': 'ellipsis', - 'padding': '0 0.25em' + 'padding': '0 1.2em 0 0.25em' }); // Hide original username text and elements diff --git a/ident_switch.css b/ident_switch.css index a8895e2..4f0f7f2 100644 --- a/ident_switch.css +++ b/ident_switch.css @@ -15,6 +15,18 @@ width: 100%; } +/* Account switcher