Skip to content

Commit

Permalink
style(admin): improve ui of delete modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Feb 27, 2023
1 parent 2921e60 commit 0722dbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions src/features/admin/components/DeleteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,11 @@ export const DeleteModal = ({
<ModalCloseButton />
<ModalBody>{children}</ModalBody>
<ModalFooter>
<Button
isLoading={isLoading}
colorScheme="red"
mr={3}
onClick={onDelete}
>
Usuń
<Button mr={3} onClick={onClose}>
Anuluj
</Button>
<Button variant="ghost" onClick={onClose}>
Zamknij
<Button isLoading={isLoading} colorScheme="red" onClick={onDelete}>
Usuń
</Button>
</ModalFooter>
</ModalContent>
Expand Down
2 changes: 1 addition & 1 deletion src/features/admin/views/tags/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const RowActions = ({ id, text }: { id: string; text: string }) => {
});
}}
>
Czy na pewno chcesz usunąć tag <Tag ml={2} tag={text} />?
Czy na pewno chcesz usunąć tag <Tag ml={1} tag={text} />?
</DeleteModal>
</>
);
Expand Down

0 comments on commit 0722dbf

Please sign in to comment.