MetaItem title uses title-label classname

This commit is contained in:
NikolaBorislavovHristov 2019-09-06 18:08:37 +03:00
parent 811b6bf043
commit 4311b1817c
2 changed files with 4 additions and 4 deletions

View file

@ -78,7 +78,7 @@ const MetaItem = React.memo(({ className, id, type, name, posterShape = 'square'
<div className={styles['title-bar-container']}>
{
typeof title === 'string' && title.length > 0 ?
<div className={styles['title']}>{title}</div>
<div className={styles['title-label']}>{title}</div>
:
null
}
@ -109,7 +109,7 @@ const MetaItem = React.memo(({ className, id, type, name, posterShape = 'square'
{
typeof subtitle === 'string' && subtitle.length > 0 ?
<div className={styles['title-bar-container']}>
<div className={styles['title']}>{subtitle}</div>
<div className={styles['title-label']}>{subtitle}</div>
</div>
:
null

View file

@ -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;