chore: minor ui fixes for mybots page

This commit is contained in:
kaname-png 2022-05-08 19:59:20 -06:00 committed by Paul Makles
parent 32d37777f2
commit e46a6d55d6
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}