From b1d6f5861934c8500711a8f5350c172bd4970efb Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 22 Aug 2021 10:46:47 +0200 Subject: [PATCH] Added responsiveness to manage domains table --- src/domains/DomainRow.tsx | 18 ++++++---- src/domains/ManageDomains.tsx | 2 +- src/index.scss | 1 + src/short-urls/ShortUrlsTable.scss | 8 ----- src/short-urls/ShortUrlsTable.tsx | 2 +- src/short-urls/helpers/ShortUrlsRow.scss | 31 ----------------- src/short-urls/helpers/ShortUrlsRow.tsx | 16 ++++----- src/utils/table/ResponsiveTable.scss | 42 ++++++++++++++++++++++++ 8 files changed, 64 insertions(+), 56 deletions(-) create mode 100644 src/utils/table/ResponsiveTable.scss diff --git a/src/domains/DomainRow.tsx b/src/domains/DomainRow.tsx index de7c3217..bf887f52 100644 --- a/src/domains/DomainRow.tsx +++ b/src/domains/DomainRow.tsx @@ -36,15 +36,19 @@ export const DomainRow: FC = ({ domain, editDomainRedirects, def const domainId = `domainEdit${authority.replace('.', '')}`; return ( - - {isDefault ? : ''} - {authority} - {redirects?.baseUrlRedirect ?? } - {redirects?.regular404Redirect ?? } - + + {isDefault ? : ''} + {authority} + + {redirects?.baseUrlRedirect ?? } + + + {redirects?.regular404Redirect ?? } + + {redirects?.invalidShortUrlRedirect ?? } - +