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