mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 08:30:58 -05:00
chore: minor ui fixes for mybots page
This commit is contained in:
parent
32d37777f2
commit
e46a6d55d6
2 changed files with 4 additions and 0 deletions
|
@ -244,6 +244,9 @@ export function FileUploader(props: Props) {
|
||||||
[styles.icon]: style === "icon",
|
[styles.icon]: style === "icon",
|
||||||
[styles.banner]: style === "banner",
|
[styles.banner]: style === "banner",
|
||||||
})}
|
})}
|
||||||
|
style={{
|
||||||
|
alignItems: props.style === "icon" ? "center" : "none",
|
||||||
|
}}
|
||||||
data-uploading={uploading}>
|
data-uploading={uploading}>
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
|
|
|
@ -296,6 +296,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<InputBox
|
<InputBox
|
||||||
|
style={{ width: "100%" }}
|
||||||
ref={setUsernameRef}
|
ref={setUsernameRef}
|
||||||
value={data.username}
|
value={data.username}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
|
|
Loading…
Reference in a new issue