Skip to content

Commit

Permalink
remove -12px margin
Browse files Browse the repository at this point in the history
  • Loading branch information
sad committed Oct 4, 2019
1 parent 1bf9034 commit bcda0bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/switcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ const injectSwitcher = () => {

li.setAttribute('class', 'profileMenu__item');
link.setAttribute('class', 'profileMenu__link profileMenu__profile');
if (account.length >= 13) {
// prevent text overflowing into delete button
link.setAttribute('style', 'overflow: hidden; margin-bottom: -12px; text-overflow: ellipsis');
}
link.innerHTML = account;
link.id = 'switch-account';
link.dataset.user = account;
Expand Down

0 comments on commit bcda0bf

Please sign in to comment.