From 95b5b56fd428ce840c17e47f90c44b4836ec55ab Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 17 Oct 2019 12:35:12 +0300 Subject: [PATCH] ArticleCard style format --- src/components/ArticleCard/index.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/ArticleCard/index.tsx b/src/components/ArticleCard/index.tsx index f5bff60d..4ff55259 100644 --- a/src/components/ArticleCard/index.tsx +++ b/src/components/ArticleCard/index.tsx @@ -36,8 +36,8 @@ export const ArticleCard: React.FC = ({ article, ...props }) } .ArticleCard > a { - display: block; - position: relative; + display: block; + position: relative; } .ArticleCard-image { @@ -80,19 +80,13 @@ export const ArticleCard: React.FC = ({ article, ...props }) } // Tablet - @media screen and (min-width: var(--tablet-min-width)) and (max-width: var(--tablet-max-width)) { .ArticleCard { --article-card-image-height: 12em; } - - @media screen and (orientation: portrait) { - } } - // Mobile - @media (max-width: 31.25em) { .ArticleCard { --article-card-width: 100%;