diff --git a/packages/app-desktop/gui/styles/toolbar-button.scss b/packages/app-desktop/gui/styles/toolbar-button.scss index 7e0b2d458..3cb32edfa 100644 --- a/packages/app-desktop/gui/styles/toolbar-button.scss +++ b/packages/app-desktop/gui/styles/toolbar-button.scss @@ -10,15 +10,6 @@ width: var(--joplin-toolbar-height); max-width: var(--joplin-toolbar-height); - &.-has-title { - width: auto; - max-width: unset; - } - - &:disabled { - opacity: 0.3; - } - display: flex; align-items: center; justify-content: center; @@ -33,6 +24,14 @@ overflow: hidden; text-overflow: ellipsis; + &.-has-title { + width: auto; + max-width: unset; + } + + &:disabled { + opacity: 0.3; + } &:not(:disabled) { &:hover, &:focus-visible {