From 50cd235c4dd8b6281153070ca3f3609797738215 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Thu, 5 Nov 2020 15:07:32 +0100 Subject: [PATCH] docs(v2): normalize showcase preview images height --- website/src/pages/showcase/index.js | 2 +- website/src/pages/showcase/styles.module.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/website/src/pages/showcase/index.js b/website/src/pages/showcase/index.js index c0df74181952..760071f4f08d 100644 --- a/website/src/pages/showcase/index.js +++ b/website/src/pages/showcase/index.js @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import React, {useEffect} from 'react'; +import React from 'react'; import Image from '@theme/IdealImage'; import Layout from '@theme/Layout'; diff --git a/website/src/pages/showcase/styles.module.css b/website/src/pages/showcase/styles.module.css index 48311294f403..d29a349083d6 100644 --- a/website/src/pages/showcase/styles.module.css +++ b/website/src/pages/showcase/styles.module.css @@ -8,3 +8,8 @@ .showcaseUser { height: 100%; } + +.card_image { + max-height: 175px; + overflow: hidden; +}