mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 07:11:50 +01:00
fixed warning
This commit is contained in:
parent
7096e544f4
commit
17b4a4b790
@ -12,16 +12,16 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 624px;
|
max-width: 624px;
|
||||||
}
|
}
|
||||||
.cardView nav a {
|
.cardView nav span {
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
.cardView nav a:not(.selected-link) {
|
.cardView nav span:not(.selected-link) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.cardView nav a.selected-link {
|
.cardView nav span.selected-link {
|
||||||
background: var(--card);
|
background: var(--card);
|
||||||
color: var(--button-text);
|
color: var(--button-text);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -215,9 +215,9 @@ export function SearchView() {
|
|||||||
|
|
||||||
{/* Nav */}
|
{/* Nav */}
|
||||||
<nav>
|
<nav>
|
||||||
<a className={page === 'search' ? 'selected-link' : ''} onClick={() => setPage('search')} href>Search</a>
|
<span className={page === 'search' ? 'selected-link' : ''} onClick={() => setPage('search')}>Search</span>
|
||||||
{continueWatching.length > 0 ?
|
{continueWatching.length > 0 ?
|
||||||
<a className={page === 'watching' ? 'selected-link' : ''} onClick={() => setPage('watching')} href>Continue watching</a>
|
<span className={page === 'watching' ? 'selected-link' : ''} onClick={() => setPage('watching')}>Continue watching</span>
|
||||||
: ''}
|
: ''}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user