From 44bc7f410670a42357d1390149ac4ac261120063 Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Fri, 3 Jul 2026 16:11:28 +0200 Subject: [PATCH 1/2] fix(docs): size up the hero logo on tablet and mobile The shared theme only enlarges the hero mark at >=960px, so below that it rendered at its small intrinsic size (~64px). Size it to ~208px for tablet/mobile too. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/.vitepress/theme/custom.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 8f81a8e8..fa205862 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -43,3 +43,15 @@ display: none; } } + +/* The shared theme only enlarges the hero mark at >=960px; below that the + * mark's small intrinsic size leaves it tiny, so size it up for tablet/mobile + * too. */ +@media (max-width: 959px) { + .VPHero .image-src { + width: 208px; + height: 208px; + max-width: 62vw; + object-fit: contain; + } +} From d370e36b41ed7a5ac3ade7120b4da96b358f70e0 Mon Sep 17 00:00:00 2001 From: Benoit TRAVERS Date: Fri, 3 Jul 2026 16:17:44 +0200 Subject: [PATCH 2/2] fix(docs): keep the enlarged hero logo square with min() Use min(208px, 62vw) for both width and height so the mark shrinks proportionally on very narrow screens instead of going non-square. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/.vitepress/theme/custom.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index fa205862..ae688b8f 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -49,9 +49,8 @@ * too. */ @media (max-width: 959px) { .VPHero .image-src { - width: 208px; - height: 208px; - max-width: 62vw; + width: min(208px, 62vw); + height: min(208px, 62vw); object-fit: contain; } }