From fc8b2ad37ac7ba7eaacbcc0d7e7f9998f1d14123 Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Tue, 27 Mar 2018 05:07:04 -0500 Subject: [PATCH] normalize descriptions, other misc layout tweaks --- data/License.json | 6 +++--- src/FilterLists.Web/ClientApp/components/Layout.tsx | 2 +- src/FilterLists.Web/ClientApp/components/ListDetails.tsx | 6 +++--- src/FilterLists.Web/ClientApp/css/site.css | 4 ++++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/data/License.json b/data/License.json index 0f9798097..169da822a 100644 --- a/data/License.json +++ b/data/License.json @@ -16,7 +16,7 @@ { "id": 3, "descriptionUrl": null, - "name": "Restricted (General)", + "name": "Restricted", "permissiveAdaptation": false, "permissiveCommercial": false }, @@ -30,7 +30,7 @@ { "id": 5, "descriptionUrl": "https://en.wikipedia.org/wiki/All_rights_reserved", - "name": "All Rights Reserved (Default)", + "name": "All Rights Reserved", "permissiveAdaptation": false, "permissiveCommercial": false }, @@ -44,7 +44,7 @@ { "id": 7, "descriptionUrl": null, - "name": "Permissive (General)", + "name": "Permissive", "permissiveAdaptation": true, "permissiveCommercial": true }, diff --git a/src/FilterLists.Web/ClientApp/components/Layout.tsx b/src/FilterLists.Web/ClientApp/components/Layout.tsx index 27c233c9e..961950574 100644 --- a/src/FilterLists.Web/ClientApp/components/Layout.tsx +++ b/src/FilterLists.Web/ClientApp/components/Layout.tsx @@ -13,7 +13,7 @@ export class Layout extends React.Component { FilterLists -

+

The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.

diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index 0d5630de6..030861ed3 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -68,10 +68,10 @@ function FilterListDetails(props: any) { function Description(props: any) { return props.description ? (props.url - ?

-
{props.description}
+ ?

+
{props.description}

- :

{props.description}

) + :

{props.description}

) : null; } diff --git a/src/FilterLists.Web/ClientApp/css/site.css b/src/FilterLists.Web/ClientApp/css/site.css index fdc0630a5..51d9d5989 100644 --- a/src/FilterLists.Web/ClientApp/css/site.css +++ b/src/FilterLists.Web/ClientApp/css/site.css @@ -12,4 +12,8 @@ body, h2, h3, h4, h5, blockquote { .fl-btn-details-action { margin-bottom: .2rem; max-width: 90px; +} + +.fl-description { + margin: 0 0 .5rem; } \ No newline at end of file