From 1f11650ca1b6a470599ee7993a725d33521101e0 Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Mon, 24 Feb 2025 16:21:19 +0100 Subject: [PATCH] Bump hint icon up 1px (#2869) --- packages/gitbook/src/components/DocumentView/Hint.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gitbook/src/components/DocumentView/Hint.tsx b/packages/gitbook/src/components/DocumentView/Hint.tsx index 2cd525a45..363ccfbc3 100644 --- a/packages/gitbook/src/components/DocumentView/Hint.tsx +++ b/packages/gitbook/src/components/DocumentView/Hint.tsx @@ -40,6 +40,7 @@ export function Hint(props: BlockProps) { className={tcls( 'py-3', 'pl-3', + '-mt-px', // Bump icon up 1px for optical alignment with heading hasHeading ? hintStyle.header : null, hintStyle.iconColor, )}