From 11a21cdbac29b6dc72bc3c2ae65132c54789ef82 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Fri, 9 Oct 2020 13:38:12 +0200 Subject: [PATCH] core: remove unused variants from InfoCard --- .../core/src/layout/InfoCard/InfoCard.tsx | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/packages/core/src/layout/InfoCard/InfoCard.tsx b/packages/core/src/layout/InfoCard/InfoCard.tsx index 09d31735cd..1a4ceb024b 100644 --- a/packages/core/src/layout/InfoCard/InfoCard.tsx +++ b/packages/core/src/layout/InfoCard/InfoCard.tsx @@ -76,19 +76,6 @@ const VARIANT_STYLES = { height: 'calc(100% - 10px)', // for pages without content header marginBottom: '10px', }, - contentheader: { - height: 'calc(100% - 40px)', // for pages with content header - }, - contentheadertabs: { - height: 'calc(100% - 97px)', // for pages with content header and tabs (Tingle) - }, - noShrink: { - flexShrink: 0, - }, - minheight300: { - minHeight: 300, - overflow: 'initial', - }, }, cardContent: { fullHeight: { @@ -97,10 +84,6 @@ const VARIANT_STYLES = { height100: { flex: 1, }, - contentRow: { - display: 'flex', - flexDirection: 'row', - }, }, }; @@ -120,10 +103,6 @@ const VARIANT_STYLES = { * Display the card full height suitable for DataGrid: * * ... - * - * Variants can be combined in a whitespace delimited list like so: - * - * ... */ type Props = { title?: ReactNode;