From b30369e3e61afd3f2222261980d428f66e1b6e26 Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Mon, 26 Mar 2018 21:21:11 -0500 Subject: [PATCH] further tidy of Maintainer cards --- .../ClientApp/components/ListDetails.tsx | 68 ++++++++++--------- src/FilterLists.Web/ClientApp/css/site.css | 2 +- 2 files changed, 38 insertions(+), 32 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index be6948c11..0d5630de6 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -210,38 +210,44 @@ function Maintainers(props: any) { function Maintainer(props: any) { return
-

Maintained by {props.maintainer.name}

-
- {props.maintainer.homeUrl - ? - Home - - : null} - {props.maintainer.emailAddress - ? - Email - - : null} - {props.maintainer.twitterHandle - ? - Twitter - - : null} +

Maintained by {props.maintainer.name}

+
+
+
+ {props.maintainer.additionalLists.length > 0 + ?
+

More by {props.maintainer.name}:

+
    + {props.maintainer.additionalLists.map( + (list: any) => )} +
+
+ : null} +
+
+ {props.maintainer.homeUrl + ? + Home + + : null} + {props.maintainer.emailAddress + ? + Email + + : null} + {props.maintainer.twitterHandle + ? + Twitter + + : null} +
+
- {props.maintainer.additionalLists.length > 0 - ?
-

More by {props.maintainer.name}

-
    - {props.maintainer.additionalLists.map( - (list: any) => )} -
-
- : null}
; } diff --git a/src/FilterLists.Web/ClientApp/css/site.css b/src/FilterLists.Web/ClientApp/css/site.css index 49728e1a1..fdc0630a5 100644 --- a/src/FilterLists.Web/ClientApp/css/site.css +++ b/src/FilterLists.Web/ClientApp/css/site.css @@ -10,6 +10,6 @@ body, h2, h3, h4, h5, blockquote { } .fl-btn-details-action { - margin: 0 .2rem .2rem; + margin-bottom: .2rem; max-width: 90px; } \ No newline at end of file