chore: minor ui fixes for mybots page

pull/1049/head
kaname-png 2022-05-08 19:59:20 -06:00 committed by Paul Makles
parent 530c3d9561
commit 68f158d866
2 changed files with 4 additions and 0 deletions

View File

@ -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(

View File

@ -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}