Skip to content
Snippets Groups Projects
Unverified Commit dca27e72 authored by Sean Hatfield's avatar Sean Hatfield Committed by GitHub
Browse files

Fix styles of ChangeWarningModal (#2876)

fix styles of ChangeWarningModal
parent eb33e0f7
Branches
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ export default function ChangeWarningModal({ ...@@ -7,7 +7,7 @@ export default function ChangeWarningModal({
}) { }) {
return ( return (
<div className="w-full max-w-2xl bg-theme-bg-secondary rounded-lg shadow border-2 border-theme-modal-border overflow-hidden z-9999"> <div className="w-full max-w-2xl bg-theme-bg-secondary rounded-lg shadow border-2 border-theme-modal-border overflow-hidden z-9999">
<div className="relative p-6 border-b rounded-t border-theme-modal-border"> <div className="relative px-6 py-5 border-b rounded-t border-theme-modal-border">
<div className="w-full flex gap-x-2 items-center"> <div className="w-full flex gap-x-2 items-center">
<Warning className="text-red-500 w-6 h-6" weight="fill" /> <Warning className="text-red-500 w-6 h-6" weight="fill" />
<h3 className="text-xl font-semibold text-red-500 overflow-hidden overflow-ellipsis whitespace-nowrap"> <h3 className="text-xl font-semibold text-red-500 overflow-hidden overflow-ellipsis whitespace-nowrap">
...@@ -44,14 +44,14 @@ export default function ChangeWarningModal({ ...@@ -44,14 +44,14 @@ export default function ChangeWarningModal({
<button <button
onClick={onClose} onClick={onClose}
type="button" type="button"
className="transition-all duration-300 bg-transparent text-white hover:opacity-60 px-4 py-2 rounded-lg text-sm" className="transition-all duration-300 bg-transparent text-white hover:opacity-60 px-4 py-2 rounded-lg text-sm border-none"
> >
Cancel Cancel
</button> </button>
<button <button
onClick={onConfirm} onClick={onConfirm}
type="submit" type="submit"
className="transition-all duration-300 bg-red-500 light:text-white text-white hover:opacity-60 px-4 py-2 rounded-lg text-sm" className="transition-all duration-300 bg-red-500 light:text-white text-white hover:opacity-60 px-4 py-2 rounded-lg text-sm border-none"
> >
Confirm Confirm
</button> </button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment