mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-19 10:29:16 +00:00
MetaItem title uses title-label classname
This commit is contained in:
parent
811b6bf043
commit
4311b1817c
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue