Small fixes

This commit is contained in:
nizune 2021-07-08 01:14:23 +02:00
parent 7bb7795f83
commit 766be90296
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)",
success: "#65E572",
warning: "#FAA352",
error: "#F06464",
error: "#ED4245",
hover: "rgba(0, 0, 0, 0.2)",
"scrollbar-thumb": "#CA525A",
"scrollbar-track": "transparent",
@ -261,7 +261,7 @@ export const PRESETS: Record<string, Theme> = {
mention: "rgba(251, 255, 0, 0.06)",
success: "#65E572",
warning: "#FAA352",
error: "#F06464",
error: "#ED4245",
hover: "rgba(0, 0, 0, 0.1)",
"scrollbar-thumb": "#CA525A",
"scrollbar-track": "transparent",

View file

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

View file

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

View file

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