Skip to content
Prev Previous commit
Add flex-shrink fix to avoid icon button from shrinking when title is…
… long
  • Loading branch information
ciampo committed Apr 7, 2021
commit 2726781ce389eb71185e90e301a9351bec383b1e
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ $sidebar-button-text-color: #a2aab2; // former $light-gray-900
.wpcom-block-editor-nav-sidebar-nav-sidebar__dismiss-sidebar-button {
height: $header-height !important;
background-color: $sidebar-nav-header-background-color !important;
// Prevents the icon button from shrinking when the site title goes on 2+ lines
flex-shrink: 0;
}

.wpcom-block-editor-nav-sidebar-nav-sidebar__home-button {
Expand Down