From bd104bc5060498b5e47866592ac3ac381a471c08 Mon Sep 17 00:00:00 2001 From: Nemanja Pavlovic Date: Mon, 15 Apr 2024 13:55:21 +0200 Subject: [PATCH] fix(UI): Small ui fixes --- client/components/Dashboard/Tenant.jsx | 22 +++++++-------- client/components/UI/ArticleStatusLabel.jsx | 4 +-- client/styles/_publisher.scss | 31 ++++++++++++++++++++- 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/client/components/Dashboard/Tenant.jsx b/client/components/Dashboard/Tenant.jsx index 276fee22..703e869d 100644 --- a/client/components/Dashboard/Tenant.jsx +++ b/client/components/Dashboard/Tenant.jsx @@ -3,12 +3,12 @@ import PropTypes from "prop-types"; const Tenant = ({ tenant, sessionToken }) => { const tenant_href = tenant.pwa_config && tenant.pwa_config.url - ? tenant.pwa_config.url - : tenant.output_channel - ? tenant.output_channel.config.url - : tenant.subdomain - ? "https://" + tenant.subdomain + "." + tenant.domain_name - : "https://" + tenant.domain_name; + ? tenant.pwa_config.url + : tenant.output_channel + ? tenant.output_channel.config.url + : tenant.subdomain + ? "https://" + tenant.subdomain + "." + tenant.domain_name + : "https://" + tenant.domain_name; return (
@@ -28,21 +28,21 @@ const Tenant = ({ tenant, sessionToken }) => {
-
+
5 ? 'big-number-block--wrap' : ''}`}>
{tenant.articles_count}
- Published -
- items + Published items
{!tenant.output_channel ? (