Skip to content

Commit 1f11650

Browse files
authored
Bump hint icon up 1px (#2869)
1 parent da55fac commit 1f11650

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

packages/gitbook/src/components/DocumentView/Hint.tsx

Lines changed: 1 addition & 0 deletions
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)