mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes react dom warnings
This commit is contained in:
parent
387f39407a
commit
accb1779cb
@ -24,12 +24,14 @@
|
|||||||
.image-upload-child {
|
.image-upload-child {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
row-gap: 2rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
width: 4rem !important;
|
width: 4rem !important;
|
||||||
|
height: 4rem !important;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.2rem !important;
|
font-size: 1.2rem !important;
|
||||||
|
@ -49,7 +49,7 @@ export default function InvokeImageUploader(props: InvokeImageUploaderProps) {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div className="image-upload-child">
|
<div className="image-upload-child">
|
||||||
<FaUpload size={'7rem'} />
|
<FaUpload />
|
||||||
<Heading size={'lg'}>Upload or Drop Image Here</Heading>
|
<Heading size={'lg'}>Upload or Drop Image Here</Heading>
|
||||||
</div>
|
</div>
|
||||||
</ImageUploader>
|
</ImageUploader>
|
||||||
|
@ -229,7 +229,7 @@ export default function HotkeysModal({ children }: HotkeysModalProps) {
|
|||||||
|
|
||||||
<h1>Keyboard Shorcuts</h1>
|
<h1>Keyboard Shorcuts</h1>
|
||||||
<div className="hotkeys-modal-items">
|
<div className="hotkeys-modal-items">
|
||||||
<Accordion allowToggle allowMultiple>
|
<Accordion allowMultiple>
|
||||||
<AccordionItem>
|
<AccordionItem>
|
||||||
<AccordionButton className="hotkeys-modal-button">
|
<AccordionButton className="hotkeys-modal-button">
|
||||||
<h2>App Hotkeys</h2>
|
<h2>App Hotkeys</h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user