forked from abner/for-legacy-web
fix: add description to settings button
This commit is contained in:
2
external/lang
vendored
2
external/lang
vendored
Submodule external/lang updated: 8581abf5e8...4b1df46153
@@ -44,9 +44,7 @@
|
|||||||
grid-template-columns: repeat(1, 1fr);
|
grid-template-columns: repeat(1, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
// lol
|
> * > * {
|
||||||
> * > *,
|
|
||||||
> :last-child > * > * {
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
|
||||||
content={
|
|
||||||
<Text id="app.home.settings-tooltip" />
|
|
||||||
}>
|
|
||||||
<Link to="/settings">
|
<Link to="/settings">
|
||||||
<CategoryButton
|
<CategoryButton
|
||||||
action="chevron"
|
action="chevron"
|
||||||
|
description={
|
||||||
|
<Text id="app.home.settings-tooltip" />
|
||||||
|
}
|
||||||
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}>
|
||||||
|
|||||||
Reference in New Issue
Block a user