Return buttons now use material icon instead of unicode for the icon
This commit is contained in:
parent
1a9f5ae41b
commit
0a02534c05
|
@ -34,8 +34,10 @@ export default function ReturnButton(props: ReturnButtonProps): JSX.Element {
|
||||||
<Button
|
<Button
|
||||||
onClick={() => appLayout.setSubPanelOpen(false)}
|
onClick={() => appLayout.setSubPanelOpen(false)}
|
||||||
href={props.href}
|
href={props.href}
|
||||||
|
className="grid grid-flow-col gap-2"
|
||||||
>
|
>
|
||||||
❮ {props.langui.return_to} {props.title}
|
<span className="material-icons">navigate_before</span>
|
||||||
|
{props.langui.return_to} {props.title}
|
||||||
</Button>
|
</Button>
|
||||||
{props.horizontalLine && <HorizontalLine />}
|
{props.horizontalLine && <HorizontalLine />}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue