Small fixes

This commit is contained in:
nizune 2021-07-08 01:14:23 +02:00 committed by Paul
parent bb6bfd1e7a
commit e956d9ac17
5 changed files with 12 additions and 10 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 2a0b524d892349cb956ee49af873fc87999e2206 Subproject commit 39359e76b961fa7ee9f83a0cabdc811ccecdb600

View file

@ -234,7 +234,7 @@ export const PRESETS: Record<string, Theme> = {
mention: "rgba(251, 255, 0, 0.40)", mention: "rgba(251, 255, 0, 0.40)",
success: "#65E572", success: "#65E572",
warning: "#FAA352", warning: "#FAA352",
error: "#F06464", error: "#ED4245",
hover: "rgba(0, 0, 0, 0.2)", hover: "rgba(0, 0, 0, 0.2)",
"scrollbar-thumb": "#CA525A", "scrollbar-thumb": "#CA525A",
"scrollbar-track": "transparent", "scrollbar-track": "transparent",
@ -261,7 +261,7 @@ export const PRESETS: Record<string, Theme> = {
mention: "rgba(251, 255, 0, 0.06)", mention: "rgba(251, 255, 0, 0.06)",
success: "#65E572", success: "#65E572",
warning: "#FAA352", warning: "#FAA352",
error: "#F06464", error: "#ED4245",
hover: "rgba(0, 0, 0, 0.1)", hover: "rgba(0, 0, 0, 0.1)",
"scrollbar-thumb": "#CA525A", "scrollbar-thumb": "#CA525A",
"scrollbar-track": "transparent", "scrollbar-track": "transparent",

View file

@ -882,7 +882,7 @@ function ContextMenus(props: Props) {
</div> </div>
<IconButton> <IconButton>
<MenuItem data={{ action: "open_settings" }}> <MenuItem data={{ action: "open_settings" }}>
<Cog size={18} /> <Cog size={22} />
</MenuItem> </MenuItem>
</IconButton> </IconButton>
</div> </div>

View file

@ -332,7 +332,7 @@
} }
.entry { .entry {
margin: 8px 0; margin: 10px 0;
padding: 16px; padding: 16px;
display: flex; display: flex;
border-radius: 6px; border-radius: 6px;
@ -419,6 +419,10 @@
} }
} }
} }
> button {
margin-top: 20px;
}
} }
.languages { .languages {

View file

@ -150,12 +150,8 @@ export function Sessions() {
}} }}
/> />
</span> </span>
</div> </div>
</div> </div>
{deviceId !== session.id && ( {deviceId !== session.id && (
<Button <Button
onClick={async () => { onClick={async () => {
@ -179,10 +175,12 @@ export function Sessions() {
<Text id="app.settings.pages.logOut" /> <Text id="app.settings.pages.logOut" />
</Button> </Button>
)} )}
</div> </div>
</div> </div>
))} ))}
<Button error>
<Text id="app.settings.pages.sessions.logout" />
</Button>
<Tip> <Tip>
<span> <span>
<Text id="app.settings.tips.sessions.a" /> <Text id="app.settings.tips.sessions.a" />