From adaeb4e892ecacef074902fecc66e1fc7e4400a8 Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Sat, 24 Mar 2018 11:32:25 -0500 Subject: [PATCH] misc css cleanup --- .../ClientApp/components/ListDetails.tsx | 41 +++++++++++-------- src/FilterLists.Web/ClientApp/css/site.css | 15 +++++-- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index ec7d53526..0f9f153e8 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -33,7 +33,7 @@ export default class ListDetails extends React.Component { } function FilterListDetails(props: any) { - return
+ return
@@ -84,21 +84,23 @@ function DiscontinuedDate(props: any) { function SubscribeUrl(props: any) { return Subscribe ; } function ViewUrl(props: any) { - return + return View ; } function HomeUrl(props: any) { return props.url - ? + ? Home : null; @@ -106,7 +108,7 @@ function HomeUrl(props: any) { function PolicyUrl(props: any) { return props.url - ? Policy @@ -115,7 +117,8 @@ function PolicyUrl(props: any) { function DonateUrl(props: any) { return props.url - ? + ? Donate : null; @@ -123,7 +126,8 @@ function DonateUrl(props: any) { function IssuesUrl(props: any) { return props.url - ? + ? GitHub Issues : null; @@ -131,7 +135,8 @@ function IssuesUrl(props: any) { function ForumUrl(props: any) { return props.url - ? + ? Forum : null; @@ -139,7 +144,8 @@ function ForumUrl(props: any) { function ChatUrl(props: any) { return props.url - ? + ? Chat : null; @@ -147,7 +153,7 @@ function ChatUrl(props: any) { function SubmissionUrl(props: any) { return props.url - ? Submit New Rule @@ -156,7 +162,8 @@ function SubmissionUrl(props: any) { function EmailAddress(props: any) { return props.email - ? + ? Email : null; @@ -165,21 +172,21 @@ function EmailAddress(props: any) { function Maintainers(props: any) { return props.maintainers.length > 0 ?
- {props.maintainers.map( - (maintainer: any) => )} + {props.maintainers.map( + (maintainer: any) => )}
: null; } function Maintainer(props: any) { - return
+ return

Maintained by {props.maintainer.name}

{props.maintainer.homeUrl ?

- Home @@ -188,7 +195,7 @@ function Maintainer(props: any) { {props.maintainer.emailAddress ?

Email @@ -197,7 +204,7 @@ function Maintainer(props: any) { {props.maintainer.twitterHandle ?

Twitter diff --git a/src/FilterLists.Web/ClientApp/css/site.css b/src/FilterLists.Web/ClientApp/css/site.css index be8d5ee37..472a8bf6c 100644 --- a/src/FilterLists.Web/ClientApp/css/site.css +++ b/src/FilterLists.Web/ClientApp/css/site.css @@ -2,15 +2,24 @@ body, h2, h3, h4, h5, blockquote { font-size: 16px; } -.panel { +.rt-tr { + -ms-align-items: center; + -o-align-items: center; + -webkit-align-items: center; + align-items: center; +} + +.panel-list-details { + padding: 20px; margin-bottom: 0; } -.panel-default { +.panel-maintainer { padding: 20px; + margin-bottom: 0; } -.btn-block { +.btn-expander-link { margin-top: 0; margin-bottom: 5px; } \ No newline at end of file