From fb736e4aac800e0925e813720eaa03a42a7bfe89 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 24 Mar 2018 14:35:07 -0500 Subject: [PATCH] reduce whitespace around details action buttons --- .../ClientApp/components/ListDetails.tsx | 74 +++++++++---------- src/FilterLists.Web/ClientApp/css/site.css | 4 +- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index a7a7cda42..3dddb8a63 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -38,16 +38,18 @@ function FilterListDetails(props: any) { - - - - - - - - - - +
+ + + + + + + + + + +
; } @@ -90,14 +92,14 @@ function DiscontinuedDate(props: any) { function SubscribeUrl(props: any) { return Subscribe ; } function ViewUrl(props: any) { - return View ; @@ -105,7 +107,7 @@ function ViewUrl(props: any) { function HomeUrl(props: any) { return props.url - ? Home @@ -114,7 +116,7 @@ function HomeUrl(props: any) { function PolicyUrl(props: any) { return props.url - ? Policy @@ -123,7 +125,7 @@ function PolicyUrl(props: any) { function DonateUrl(props: any) { return props.url - ? Donate @@ -132,7 +134,7 @@ function DonateUrl(props: any) { function IssuesUrl(props: any) { return props.url - ? GitHub Issues @@ -141,7 +143,7 @@ function IssuesUrl(props: any) { function ForumUrl(props: any) { return props.url - ? Forum @@ -150,7 +152,7 @@ function ForumUrl(props: any) { function ChatUrl(props: any) { return props.url - ? Chat @@ -159,16 +161,16 @@ function ChatUrl(props: any) { function SubmissionUrl(props: any) { return props.url - ? - Submit New Rule + Submit Rule : null; } function EmailAddress(props: any) { return props.email - ? Email @@ -190,32 +192,28 @@ function Maintainer(props: any) {

Maintained by {props.maintainer.name}

- {props.maintainer.homeUrl - ?

- + {props.maintainer.homeUrl + ? Home -

- : null} - {props.maintainer.emailAddress - ?

- Email -

- : null} - {props.maintainer.twitterHandle - ?

- Twitter -

- : null} + : null} +
{props.maintainer.additionalLists.length > 0 ?
More by {props.maintainer.name}
diff --git a/src/FilterLists.Web/ClientApp/css/site.css b/src/FilterLists.Web/ClientApp/css/site.css index c12e621a0..eb76b3ee4 100644 --- a/src/FilterLists.Web/ClientApp/css/site.css +++ b/src/FilterLists.Web/ClientApp/css/site.css @@ -29,6 +29,8 @@ body, h2, h3, h4, h5, blockquote { } .btn-expander-link { + -ms-border-radius: 0; + border-radius: 0; margin: 0 auto 5px auto; - max-width: 250px; + width: 110px; } \ No newline at end of file