Compare commits

...

2 Commits

Author SHA1 Message Date
Claude f9c139d032 changeset
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSEiRkE1nPdYDJjWwZBmys
2026-07-21 00:10:33 +00:00
Claude 25eceeb60e Fix off-center icon in breadcrumb (RND-12092)
The breadcrumb crumb is laid out inline, so the icon rendered next to the
label defaulted to vertical-align: baseline and its square box sat on the
text baseline, appearing shifted up. Align it to the middle of the text,
matching how inline icons/images are aligned elsewhere.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSEiRkE1nPdYDJjWwZBmys
2026-07-21 00:10:27 +00:00
2 changed files with 9 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix vertically off-center icon next to breadcrumb text.
@@ -47,7 +47,10 @@ export function BreadcrumbItemDropdown(props: {
const content = (
<>
{emoji || icon ? (
<PageIcon page={{ emoji, icon }} style="mr-1 inline size-[1em] shrink-0" />
<PageIcon
page={{ emoji, icon }}
style="mr-1 inline size-[1em] shrink-0 align-middle"
/>
) : null}
{label}
</>