fix: add description to settings button

This commit is contained in:
Paul Makles 2022-01-10 20:00:29 +00:00
parent 599aab9a31
commit bf82c24281
3 changed files with 13 additions and 17 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 8581abf5e838edca5890ec44be0c9f0a37006009
Subproject commit 4b1df46153443e4a4fc7a03a1082f6d1e2e04782

View file

@ -44,9 +44,7 @@
grid-template-columns: repeat(1, 1fr);
}
// lol
> * > *,
> :last-child > * > * {
> * > * {
height: 100%;
}
}

View file

@ -10,7 +10,7 @@ import {
} from "@styled-icons/boxicons-solid";
import { observer } from "mobx-react-lite";
import { Link } from "react-router-dom";
import styled, { css } from "styled-components";
import styled from "styled-components";
import styles from "./Home.module.scss";
import "./snow.scss";
@ -165,18 +165,16 @@ export default observer(() => {
<Text id="app.home.donate" />
</CategoryButton>
</a>
<Tooltip
content={
<Text id="app.home.settings-tooltip" />
}>
<Link to="/settings">
<CategoryButton
action="chevron"
description={
<Text id="app.home.settings-tooltip" />
}
icon={<Cog size={32} />}>
<Text id="app.home.settings" />
</CategoryButton>
</Link>
</Tooltip>
</div>
{isDecember && (
<a href="#" onClick={toggleSeasonalTheme}>