Small stylesheet simplification
This commit is contained in:
parent
6f600cf411
commit
92f6efa772
@ -50,7 +50,7 @@ const ExpressionSetDetailsPage: NextPage = () => {
|
||||
}}
|
||||
passHref
|
||||
>
|
||||
<a className="navigation-item-bottom text-navigation grow">
|
||||
<a className="navigation-item bottom text-navigation grow">
|
||||
<span>Practice this set</span>
|
||||
</a>
|
||||
</Link>
|
||||
|
@ -59,19 +59,19 @@ function ExpressionCardPracticeView({
|
||||
{revealed ? (
|
||||
<>
|
||||
<Link href={{ pathname, query }} passHref>
|
||||
<a className="navigation-item-bottom text-navigation grow">
|
||||
<a className="navigation-item bottom text-navigation grow">
|
||||
<div>Wrong</div>
|
||||
</a>
|
||||
</Link>
|
||||
<Link href={{ pathname, query }} passHref>
|
||||
<a className="navigation-item-bottom text-navigation grow">
|
||||
<a className="navigation-item bottom text-navigation grow">
|
||||
<div>Right</div>
|
||||
</a>
|
||||
</Link>
|
||||
</>
|
||||
) : (
|
||||
<button
|
||||
className="navigation-item-bottom text-navigation grow"
|
||||
className="navigation-item bottom text-navigation grow"
|
||||
onClick={() => setRevealed(true)}
|
||||
>
|
||||
Reveal
|
||||
|
@ -93,6 +93,10 @@
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.navigation-item.bottom {
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.navigation-item:hover {
|
||||
background-color: antiquewhite;
|
||||
}
|
||||
@ -101,26 +105,6 @@
|
||||
background-color: bisque;
|
||||
}
|
||||
|
||||
.navigation-item-bottom {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background-color: lavenderblush;
|
||||
border: 1px solid darkslategray;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.navigation-item-bottom:hover {
|
||||
background-color: antiquewhite;
|
||||
}
|
||||
|
||||
.navigation-item-bottom.active {
|
||||
background-color: bisque;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
Loading…
Reference in New Issue
Block a user