From a4d1cc6f2c19f8dd5f9099e2d61bb546108aa5fa Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 24 Mar 2018 10:55:18 -0500 Subject: [PATCH] misc css cleanup --- .../ClientApp/components/Home.tsx | 3 ++- .../ClientApp/components/ListDetails.tsx | 10 +++++----- src/FilterLists.Web/ClientApp/css/site.css | 17 +++++++++++++++-- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 877cc1041..df4b103ca 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -52,7 +52,8 @@ export class Home extends React.Component, IFilterListsS filterable: true, filterMethod: (filter: any, row: any) => row[filter.id].toUpperCase() .includes(filter.value.toUpperCase()), - sortMethod: (a: any, b: any) => a.toUpperCase() > b.toUpperCase() ? 1 : -1 + sortMethod: (a: any, b: any) => a.toUpperCase() > b.toUpperCase() ? 1 : -1, + Cell: (cell: any) =>

{cell.value}

}, { Header: "Languages", diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index c8b0b628f..2d8f2e93e 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -64,11 +64,11 @@ function Languages(props: any) { return props.languages.length > 0 ? props.languages.length > 1 ?
-

Languages

+

Languages

{props.languages.join(", ")}

:
-

Language

+

Language

{props.languages.join(", ")}

: null; @@ -166,7 +166,7 @@ function Maintainers(props: any) { return props.maintainers.length > 0 ?
-

Maintainers

+

Maintainers

{props.maintainers.map( @@ -179,7 +179,7 @@ function Maintainers(props: any) { function Maintainer(props: any) { return
-

{props.maintainer.name}

+

{props.maintainer.name}

{props.maintainer.homeUrl @@ -210,7 +210,7 @@ function Maintainer(props: any) { : null} {props.maintainer.additionalLists.length > 0 ?
-

More by {props.maintainer.name}

+
More by {props.maintainer.name}
    {props.maintainer.additionalLists.map( (list: any) => )} diff --git a/src/FilterLists.Web/ClientApp/css/site.css b/src/FilterLists.Web/ClientApp/css/site.css index 3502a5164..92fb5f26e 100644 --- a/src/FilterLists.Web/ClientApp/css/site.css +++ b/src/FilterLists.Web/ClientApp/css/site.css @@ -2,6 +2,19 @@ body { font-size: 16px; } -#close-modal { - margin-top: 5px; +h2 { + font-size: 16px; + margin: 0; +} + +h5 { + font-size: 16px; +} + +blockquote { + font-size: 16px; +} + +.panel-default { + padding: 20px; } \ No newline at end of file