diff --git a/scm-ui-components/packages/ui-components/src/CardColumn.js b/scm-ui-components/packages/ui-components/src/CardColumn.js index 58722c0cac..e464de5560 100644 --- a/scm-ui-components/packages/ui-components/src/CardColumn.js +++ b/scm-ui-components/packages/ui-components/src/CardColumn.js @@ -21,21 +21,22 @@ const styles = { flexFullHeight: { display: "flex", flexDirection: "column", + justifyContent: "space-between", alignSelf: "stretch" }, - content: { - display: "flex", - flexGrow: 1, - alignItems: "center", - justifyContent: "space-between" - }, footer: { display: "flex", - marginTop: "auto", - paddingBottom: "1.5rem" + paddingBottom: "1.5rem", }, - noBottomMargin: { - marginBottom: "0 !important" + topPart: { + display: "flex" + }, + contentRight: { + marginLeft: "auto" + }, + contentLeft: { + marginBottom: "0 !important", + overflow: "hidden" } }; @@ -91,25 +92,26 @@ class CardColumn extends React.Component { classes.flexFullHeight )} > -
+
-

+

{title}

{description}

+
{contentRight && contentRight} +
-
-
{footerLeft}
-
{footerRight}
-
+
+
{footerLeft}
+
{footerRight}
+