mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Bump hint icon up 1px (#2869)
This commit is contained in:
@@ -40,6 +40,7 @@ export function Hint(props: BlockProps<DocumentBlockHint>) {
|
||||
className={tcls(
|
||||
'py-3',
|
||||
'pl-3',
|
||||
'-mt-px', // Bump icon up 1px for optical alignment with heading
|
||||
hasHeading ? hintStyle.header : null,
|
||||
hintStyle.iconColor,
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user