mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Focusable Board Row Titles
This commit is contained in:
parent
21d5d8e0b4
commit
2930e216c9
2 changed files with 15 additions and 3 deletions
|
|
@ -18,7 +18,11 @@ const MetaRow = ({ className, title, message, items, itemComponent, deepLinks })
|
|||
<div className={styles['header-container']}>
|
||||
{
|
||||
typeof title === 'string' && title.length > 0 ?
|
||||
<div className={styles['title-container']} title={title}>{title}</div>
|
||||
<div className={styles['title-container']}>
|
||||
<Button className={styles['row-title']} href={deepLinks.discover || deepLinks.library} title={title} href={deepLinks.discover || deepLinks.library}>
|
||||
{title}
|
||||
</Button>
|
||||
</div>
|
||||
:
|
||||
null
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,8 +16,16 @@
|
|||
.title-container {
|
||||
flex: 1;
|
||||
max-height: 2.4em;
|
||||
font-size: 1.8rem;
|
||||
color: @color-secondaryvariant2-light1-90;
|
||||
text-align: left;
|
||||
.row-title {
|
||||
font-size: 1.8rem;
|
||||
color: @color-secondaryvariant2-light1-90;
|
||||
&:focus-within {
|
||||
outline-width: 0;
|
||||
background-color: @color-background-light3;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.see-all-container {
|
||||
|
|
|
|||
Loading…
Reference in a new issue