Skip to content

Commit 1e1d75c

Browse files
authored
Merge branch 'main' into taran/sections-in-resuable-content
2 parents 818166b + 1f11650 commit 1e1d75c

File tree

1 file changed

+1
-0
lines changed
  • packages/gitbook/src/components/DocumentView

1 file changed

+1
-0
lines changed

Diff for: packages/gitbook/src/components/DocumentView/Hint.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export function Hint(props: BlockProps<DocumentBlockHint>) {
4040
className={tcls(
4141
'py-3',
4242
'pl-3',
43+
'-mt-px', // Bump icon up 1px for optical alignment with heading
4344
hasHeading ? hintStyle.header : null,
4445
hintStyle.iconColor,
4546
)}

0 commit comments

Comments
 (0)