mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
fix: add description to settings button
This commit is contained in:
parent
599aab9a31
commit
bf82c24281
3 changed files with 13 additions and 17 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 8581abf5e838edca5890ec44be0c9f0a37006009
|
||||
Subproject commit 4b1df46153443e4a4fc7a03a1082f6d1e2e04782
|
|
@ -44,9 +44,7 @@
|
|||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
// lol
|
||||
> * > *,
|
||||
> :last-child > * > * {
|
||||
> * > * {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
icon={<Cog size={32} />}>
|
||||
<Text id="app.home.settings" />
|
||||
</CategoryButton>
|
||||
</Link>
|
||||
</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>
|
||||
</div>
|
||||
{isDecember && (
|
||||
<a href="#" onClick={toggleSeasonalTheme}>
|
||||
|
|
Loading…
Reference in a new issue