From 3ee700c6dbb0c3bcf6f803665c93c4e7da90c95e Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Thu, 5 Nov 2020 19:45:25 +0100 Subject: [PATCH] docs(v2): normalize showcase preview images height (#3696) --- 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 c0df741819..760071f4f0 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 48311294f4..d29a349083 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; +}