Return buttons now use material icon instead of unicode for the icon

This commit is contained in:
DrMint 2022-03-11 00:33:02 +01:00
parent 1a9f5ae41b
commit 0a02534c05
1 changed files with 3 additions and 1 deletions

View File

@ -34,8 +34,10 @@ export default function ReturnButton(props: ReturnButtonProps): JSX.Element {
<Button
onClick={() => appLayout.setSubPanelOpen(false)}
href={props.href}
className="grid grid-flow-col gap-2"
>
&emsp;{props.langui.return_to} {props.title}
<span className="material-icons">navigate_before</span>
{props.langui.return_to} {props.title}
</Button>
{props.horizontalLine && <HorizontalLine />}
</div>