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); grid-template-columns: repeat(1, 1fr);
} }
// lol > * > * {
> * > *,
> :last-child > * > * {
height: 100%; height: 100%;
} }
} }

View file

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