From eb87280257ca633c41c9fa59fb372b4d78a6c669 Mon Sep 17 00:00:00 2001 From: Vlad-Stefan Harbuz Date: Sat, 7 Mar 2026 22:48:27 +0000 Subject: [PATCH] fix: adjust logo sizing on about page --- app/assets/logos/oss-partners/index.ts | 3 +++ app/assets/logos/sponsors/index.ts | 11 +++++------ app/components/About/LogoList.vue | 14 +++++++------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/assets/logos/oss-partners/index.ts b/app/assets/logos/oss-partners/index.ts index 2b0412e59c..a4794da81e 100644 --- a/app/assets/logos/oss-partners/index.ts +++ b/app/assets/logos/oss-partners/index.ts @@ -77,11 +77,13 @@ export const OSS_PARTNERS = [ name: 'Nuxt', logo: LogoNuxt, url: 'https://nuxt.com/', + maxHeight: '3.2rem', }, { name: 'Vue', logo: LogoVue, url: 'https://vuejs.org/', + maxHeight: '3.5rem', }, { name: 'Algolia', @@ -136,6 +138,7 @@ export const OSS_PARTNERS = [ name: 'Vue Data UI', logo: LogoVueDataUi, url: 'https://vue-data-ui.graphieros.com/', + maxHeight: '3.5rem', }, { name: 'UnJS', diff --git a/app/assets/logos/sponsors/index.ts b/app/assets/logos/sponsors/index.ts index 3ab7d951ae..422da20c12 100644 --- a/app/assets/logos/sponsors/index.ts +++ b/app/assets/logos/sponsors/index.ts @@ -15,7 +15,7 @@ import LogoBlueskyLight from './bluesky-light.svg' // // If there are no original assets and the logo is not universal, you can add only the dark theme variant // and specify 'auto' for the light one - this will grayscale the logo and invert it in light mode. -// The normalisingIndent is the Y-axis space to visually stabilize favicon-only logos with logotypes that contain long name. +// The maxHeight is used to make some logos more visually consistent with the others. export const SPONSORS = [ { name: 'Vercel', @@ -23,7 +23,7 @@ export const SPONSORS = [ dark: LogoVercel, light: LogoVercelLight, }, - normalisingIndent: '0.875rem', + maxHeight: '2.8rem', url: 'https://vercel.com/', }, { @@ -32,7 +32,7 @@ export const SPONSORS = [ dark: LogoVoidZero, light: LogoVoidZeroLight, }, - normalisingIndent: '0.875rem', + maxHeight: '2.8rem', url: 'https://voidzero.dev/', }, { @@ -41,7 +41,7 @@ export const SPONSORS = [ dark: LogoVlt, light: LogoVltLight, }, - normalisingIndent: '0.875rem', + maxHeight: '2.8rem', url: 'https://vlt.sh/', }, { @@ -50,7 +50,6 @@ export const SPONSORS = [ dark: LogoNetlify, light: LogoNetlifyLight, }, - normalisingIndent: '0.125rem', url: 'https://netlify.com/', }, { @@ -59,7 +58,7 @@ export const SPONSORS = [ dark: LogoBluesky, light: LogoBlueskyLight, }, - normalisingIndent: '0.625rem', + maxHeight: '3.2rem', url: 'https://bsky.app/', }, ] diff --git a/app/components/About/LogoList.vue b/app/components/About/LogoList.vue index 9cc8c4182e..17da8dc6b2 100644 --- a/app/components/About/LogoList.vue +++ b/app/components/About/LogoList.vue @@ -2,7 +2,7 @@ type BaseItem = { name: string url: string - normalisingIndent?: string + maxHeight?: string logo: | string | { @@ -22,15 +22,15 @@ const props = defineProps<{