Skip to content

Commit 43766d6

Browse files
authored
Fix custom logo not rendering on the published site (#3557)
1 parent 42c17f5 commit 43766d6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changeset/young-goats-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gitbook": patch
3+
---
4+
5+
Fix Custom logo not rendering on the published site

packages/gitbook/src/components/Header/HeaderLogo.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ export async function HeaderLogo(props: HeaderLogoProps) {
5555
'lg:max-w-64',
5656
'lg:site-header-none:page-no-toc:max-w-56',
5757
'max-h-10',
58-
'lg:max-h-12',
5958
'h-full',
60-
'w-auto'
59+
'w-full',
60+
'object-contain',
61+
'object-left'
6162
)}
6263
/>
6364
) : (

0 commit comments

Comments
 (0)