mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix styling on alert modals
This commit is contained in:
parent
ef482b4d3e
commit
cb7458db77
@ -25,7 +25,10 @@ import {
|
||||
import { useAppDispatch, useAppSelector } from 'app/store';
|
||||
import { deleteImage } from 'app/socketio/actions';
|
||||
import { RootState } from 'app/store';
|
||||
import { setShouldConfirmOnDelete, SystemState } from 'features/system/store/systemSlice';
|
||||
import {
|
||||
setShouldConfirmOnDelete,
|
||||
SystemState,
|
||||
} from 'features/system/store/systemSlice';
|
||||
import * as InvokeAI from 'app/invokeai';
|
||||
import { useHotkeys } from 'react-hotkeys-hook';
|
||||
import _ from 'lodash';
|
||||
@ -105,7 +108,7 @@ const DeleteImageModal = forwardRef(
|
||||
onClose={onClose}
|
||||
>
|
||||
<AlertDialogOverlay>
|
||||
<AlertDialogContent>
|
||||
<AlertDialogContent className="modal">
|
||||
<AlertDialogHeader fontSize="lg" fontWeight="bold">
|
||||
Delete image
|
||||
</AlertDialogHeader>
|
||||
@ -127,7 +130,11 @@ const DeleteImageModal = forwardRef(
|
||||
</Flex>
|
||||
</AlertDialogBody>
|
||||
<AlertDialogFooter>
|
||||
<Button ref={cancelRef} onClick={onClose}>
|
||||
<Button
|
||||
ref={cancelRef}
|
||||
onClick={onClose}
|
||||
className="modal-close-btn"
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button colorScheme="red" onClick={handleDelete} ml={3}>
|
||||
|
@ -6,6 +6,7 @@ import {
|
||||
AlertDialogHeader,
|
||||
AlertDialogOverlay,
|
||||
Button,
|
||||
Flex,
|
||||
useDisclosure,
|
||||
} from '@chakra-ui/react';
|
||||
import { emptyTempFolder } from 'app/socketio/actions';
|
||||
@ -42,7 +43,7 @@ const ClearTempFolderButtonModal = () => {
|
||||
onClose={onClose}
|
||||
>
|
||||
<AlertDialogOverlay>
|
||||
<AlertDialogContent>
|
||||
<AlertDialogContent className="modal">
|
||||
<AlertDialogHeader fontSize="lg" fontWeight="bold">
|
||||
Clear Temp Image Folder
|
||||
</AlertDialogHeader>
|
||||
@ -58,7 +59,11 @@ const ClearTempFolderButtonModal = () => {
|
||||
</AlertDialogBody>
|
||||
|
||||
<AlertDialogFooter>
|
||||
<Button ref={cancelRef} onClick={onClose}>
|
||||
<Button
|
||||
ref={cancelRef}
|
||||
onClick={onClose}
|
||||
className="modal-close-btn"
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button colorScheme="red" onClick={handleClear} ml={3}>
|
||||
|
Loading…
Reference in New Issue
Block a user