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 ? (
{tenant.pwa_config && tenant.pwa_config.url && ( { if (article.status === "published") { return ( { } else { return ( span { + display: block; + } +} + +.big-number-block { + &--wrap { + flex-direction: column; + align-items: flex-start !important; + + br { + display: inline-block; + } + + .big-number-block__text { + margin-left: 0; + + span { + display: inline-block; + } + } + } +}