Skip to content

Commit

Permalink
Remove padding from header center to make just a bit more room
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Jun 18, 2024
1 parent f00c36b commit f66adf4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/editor/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@
display: flex;
justify-content: center;
align-items: center;
// Grid items will, by default, refuse to shrink below a minimum intrinsic
// width. To enable shrinking and thereby truncate child text, hide the
// overflow.
overflow: hidden;
// Make room for the focus ring.
padding: 2px;
// To enable shrinking and truncating of child text, apply an explicit min-width.
min-width: 0;
// Clip the box while leaving room for focus rings.
clip-path: inset(-2px);
}

/**
Expand Down

0 comments on commit f66adf4

Please sign in to comment.