mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
update strings and style
This commit is contained in:
parent
e92877158c
commit
8ea0615600
2 changed files with 4 additions and 3 deletions
|
@ -230,7 +230,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
||||||
} else setEditMode(true);
|
} else setEditMode(true);
|
||||||
}}
|
}}
|
||||||
contrast>
|
contrast>
|
||||||
{editMode ? "Cancel" : "Edit"}
|
{editMode ? <Text id="app.special.modals.actions.cancel" /> : "Edit"}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
{!editMode && (
|
{!editMode && (
|
||||||
|
@ -298,7 +298,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
||||||
{editMode && (
|
{editMode && (
|
||||||
<>
|
<>
|
||||||
<Button accent onClick={save}>
|
<Button accent onClick={save}>
|
||||||
Save
|
<Text id="app.special.modals.actions.save" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
error
|
error
|
||||||
|
@ -307,7 +307,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
||||||
await client.bots.delete(bot._id);
|
await client.bots.delete(bot._id);
|
||||||
onDelete();
|
onDelete();
|
||||||
}}>
|
}}>
|
||||||
Delete
|
<Text id="app.special.modals.actions.delete" />
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -532,6 +532,7 @@
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
|
|
||||||
h5 { margin-bottom: 1em }
|
h5 { margin-bottom: 1em }
|
||||||
|
h3 { margin-bottom: 0 }
|
||||||
}
|
}
|
||||||
|
|
||||||
.botSection {
|
.botSection {
|
||||||
|
|
Loading…
Reference in a new issue