mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Fix header logo (#203)
This commit is contained in:
@@ -31,7 +31,7 @@ export function HeaderLogo(props: HeaderLogoProps) {
|
||||
/>
|
||||
<Link
|
||||
href={absoluteHref('')}
|
||||
className={tcls('group/headerlogo', 'flex', 'flex-row', 'items-center', 'shrink-0')}
|
||||
className={tcls('group/headerlogo', 'flex-1', 'flex', 'flex-row', 'items-center', 'shrink-0')}
|
||||
>
|
||||
{customization.header.logo ? (
|
||||
<Image
|
||||
@@ -130,7 +130,8 @@ function LogoFallback(props: HeaderLogoProps) {
|
||||
'lg:text-lg/tight',
|
||||
'font-semibold',
|
||||
'ms-3',
|
||||
customization.header.preset === CustomizationHeaderPreset.Default
|
||||
customization.header.preset === CustomizationHeaderPreset.Default ||
|
||||
customization.header.preset === CustomizationHeaderPreset.None
|
||||
? ['text-dark', 'dark:text-light']
|
||||
: 'text-header-link',
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user