diff --git a/web/src/app/(main)/page.tsx b/web/src/app/(main)/page.tsx index ced8de91..715a192c 100644 --- a/web/src/app/(main)/page.tsx +++ b/web/src/app/(main)/page.tsx @@ -41,7 +41,7 @@ async function Page() { title faces data-superjson - className="h-[90vh] max-h-[800px]" + className="h-[90vh] max-h-[800px] overflow-y-hidden" /> )} diff --git a/web/src/components/feature-carousel/face.ts b/web/src/components/feature-carousel/face.ts index 0fa2e03a..d9b42354 100644 --- a/web/src/components/feature-carousel/face.ts +++ b/web/src/components/feature-carousel/face.ts @@ -5,7 +5,7 @@ import { Dot, RandomPlacer } from 'src/utils/random-placer' import { AvatarSize } from '../atoms/avatar' const placer = new RandomPlacer(80, 60) -const sizes: AvatarSize[] = ['xl', '2xl', '2xl', '2xl', '3xl', '3xl'] +const sizes: AvatarSize[] = ['lg', 'xl', 'xl', 'xl', '2xl', '2xl'] export class Face { constructor( diff --git a/web/src/components/feature-carousel/item.tsx b/web/src/components/feature-carousel/item.tsx index 750cf8f4..e50f2c1e 100644 --- a/web/src/components/feature-carousel/item.tsx +++ b/web/src/components/feature-carousel/item.tsx @@ -56,7 +56,7 @@ export function FeatureCarouselItem({ {feature.book.cover && ( )}
{feature.tagLine && ( -

+

{feature.tagLine}

)} @@ -75,14 +75,14 @@ export function FeatureCarouselItem({

{feature.title}

)} {feature.description && ( -

+

{feature.description}

)}
{feature.book.authors.map((author) => ( - +

{author.name}

))} diff --git a/web/tailwind.config.js b/web/tailwind.config.js index 5baa5754..21df120d 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -46,7 +46,8 @@ module.exports = { 'accordion-close': 'accordion-close 0.2s ease-out both' }, screens: { - 'mobile-only': { max: '767px' } + 'mobile-only': { max: '767px' }, + short: { raw: '(max-height: 650px)' } }, zIndex: { nav: 60,