Right align left link
This commit is contained in:
parent
bd12a35a4d
commit
b86200dbf8
|
@ -10,6 +10,10 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.leftItem {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
color: var(--primary-text);
|
color: var(--primary-text);
|
||||||
font-size: calc(28rem / 16);
|
font-size: calc(28rem / 16);
|
||||||
|
|
|
@ -31,7 +31,9 @@ export function BottomNav(props: PagesInfo) {
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
<Link href={props.leftPage.url}>
|
<Link href={props.leftPage.url}>
|
||||||
<a className={styles.item}>{props.leftPage.name}</a>
|
<a className={styles.item + " " + styles.leftItem}>
|
||||||
|
{props.leftPage.name}
|
||||||
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
Loading…
Reference in New Issue