From 7199e80b76ff3ac10ad5ccc5fb4134ebf1d827c9 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 6 Aug 2019 12:33:16 -0500 Subject: [PATCH] fixed row heights --- .../src/modules/allListsTable/AllListsTable.css | 7 ++++--- src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.css b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.css index 678542d7c..26c847211 100644 --- a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.css +++ b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.css @@ -6,7 +6,8 @@ td > div { text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; - -webkit-line-clamp: 2; - line-height: 1.5; - max-height: 3em; + -webkit-line-clamp: 2; /* number of lines to show */ + line-height: 1.5; /* fallback */ + max-height: 3em; /* fallback */ + min-height: 3em; /* fixed row height */ } diff --git a/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx b/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx index 679fd2d3f..815a445a3 100644 --- a/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx +++ b/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx @@ -17,7 +17,9 @@ export const SubscribeButton = (props: Props): JSX.Element | null => (props.viewUrlMirrors && props.viewUrlMirrors.length > 0) ? : props.viewUrl - ? + ?
+ +
: null; const SubscribeButtonDropdown = (props: Props): JSX.Element => {