From 767f0e32510ba50ae6866a2bde342a40488ec5d0 Mon Sep 17 00:00:00 2001 From: Nemanja Pavlovic Date: Mon, 15 Apr 2024 13:18:25 +0200 Subject: [PATCH] fix(UI): Small ui fixes --- client/components/Dashboard/Tenant.jsx | 22 +++++++-------- client/components/UI/ArticleStatusLabel.jsx | 4 +-- client/styles/_publisher.scss | 30 ++++++++++++++++++++- 3 files changed, 42 insertions(+), 14 deletions(-) diff --git a/client/components/Dashboard/Tenant.jsx b/client/components/Dashboard/Tenant.jsx index acdeda7b..198c3178 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 ? (