mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-06 23:45:52 -05:00
fix: add margin to theme selector
This commit is contained in:
parent
c64906051d
commit
739dd53637
1 changed files with 3 additions and 4 deletions
|
@ -1,17 +1,15 @@
|
||||||
import { observer } from "mobx-react-lite";
|
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
|
|
||||||
import { Text } from "preact-i18n";
|
import { Text } from "preact-i18n";
|
||||||
|
|
||||||
import { useApplicationState } from "../../../mobx/State";
|
|
||||||
|
|
||||||
import darkSVG from "./dark.svg";
|
import darkSVG from "./dark.svg";
|
||||||
import lightSVG from "./light.svg";
|
import lightSVG from "./light.svg";
|
||||||
|
|
||||||
const List = styled.div`
|
const List = styled.div`
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
display: flex;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
@ -29,6 +27,7 @@ const List = styled.div`
|
||||||
&[data-active="true"] {
|
&[data-active="true"] {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
border: 3px solid var(--accent);
|
border: 3px solid var(--accent);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 3px solid var(--accent);
|
border: 3px solid var(--accent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue