diff --git a/.changeset/young-goats-begin.md b/.changeset/young-goats-begin.md new file mode 100644 index 0000000000..5e6b3da039 --- /dev/null +++ b/.changeset/young-goats-begin.md @@ -0,0 +1,5 @@ +--- +"gitbook": patch +--- + +Fix Custom logo not rendering on the published site diff --git a/packages/gitbook/src/components/Header/HeaderLogo.tsx b/packages/gitbook/src/components/Header/HeaderLogo.tsx index 7ff2aeb858..ccea4b9633 100644 --- a/packages/gitbook/src/components/Header/HeaderLogo.tsx +++ b/packages/gitbook/src/components/Header/HeaderLogo.tsx @@ -55,9 +55,10 @@ export async function HeaderLogo(props: HeaderLogoProps) { 'lg:max-w-64', 'lg:site-header-none:page-no-toc:max-w-56', 'max-h-10', - 'lg:max-h-12', 'h-full', - 'w-auto' + 'w-full', + 'object-contain', + 'object-left' )} /> ) : (