From 4311b1817c1c4c57deab534bc2e34c14fa4089e1 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Fri, 6 Sep 2019 18:08:37 +0300 Subject: [PATCH] MetaItem title uses title-label classname --- src/common/MetaItem/MetaItem.js | 4 ++-- src/common/MetaItem/styles.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/MetaItem/MetaItem.js b/src/common/MetaItem/MetaItem.js index 32169a01c..a58ef57fd 100644 --- a/src/common/MetaItem/MetaItem.js +++ b/src/common/MetaItem/MetaItem.js @@ -78,7 +78,7 @@ const MetaItem = React.memo(({ className, id, type, name, posterShape = 'square'
{ typeof title === 'string' && title.length > 0 ? -
{title}
+
{title}
: null } @@ -109,7 +109,7 @@ const MetaItem = React.memo(({ className, id, type, name, posterShape = 'square' { typeof subtitle === 'string' && subtitle.length > 0 ?
-
{subtitle}
+
{subtitle}
: null diff --git a/src/common/MetaItem/styles.less b/src/common/MetaItem/styles.less index 10ef17dfa..0de645d1f 100644 --- a/src/common/MetaItem/styles.less +++ b/src/common/MetaItem/styles.less @@ -9,7 +9,7 @@ background-color: var(--color-surfacelight); .title-bar-container { - .title { + .title-label { color: var(--color-backgrounddarker); } @@ -120,7 +120,7 @@ justify-content: flex-end; height: 2.6rem; - .title { + .title-label { flex: 1; max-height: 2.4em; padding-left: 0.5rem;