There was an error while loading. Please reload this page.
1 parent 67a6fb4 commit 87eea73Copy full SHA for 87eea73
.changeset/loud-trainers-lay.md
@@ -0,0 +1,5 @@
1
+---
2
+'gitbook': patch
3
4
+
5
+Fix margin and image resolution of header logo
packages/gitbook/src/components/Header/HeaderLogo.tsx
@@ -50,24 +50,25 @@ export function HeaderLogo(props: HeaderLogoProps) {
50
sizes={[
51
{
52
media: '(max-width: 1024px)',
53
- width: 128,
+ width: 160,
54
},
55
56
- width: 192,
+ width: 260,
57
58
]}
59
priority="high"
60
style={tcls(
61
'rounded',
62
'straight-corners:rounded-sm',
63
'overflow-hidden',
64
- 'object-contain',
65
- 'object-left',
66
- 'min-w-20',
+ 'shrink',
+ 'min-w-0',
67
'max-w-40',
68
'lg:max-w-64',
69
'max-h-10',
70
'lg:max-h-12',
+ 'h-full',
71
+ 'w-auto',
72
)}
73
/>
74
) : (
0 commit comments