Commit fe9369cd authored by timel's avatar timel

feat: styles

parent 30ac66cc
Pipeline #22431 failed with stages
in 15 minutes and 29 seconds
...@@ -14,8 +14,23 @@ ...@@ -14,8 +14,23 @@
top: 100% !important; top: 100% !important;
bottom: 0 !important; bottom: 0 !important;
transform: translateY(calc(50% - 66px)); transform: translateY(calc(50% - 66px));
.ant-modal-body {
animation: fadeout 0.3s forwards;
}
} }
.neos-modal-wrap { .neos-modal-wrap {
pointer-events: none; pointer-events: none;
} }
@keyframes fadeout {
0% {
opacity: 1;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
...@@ -107,13 +107,9 @@ export const SelectCardsModal: React.FC<SelectCardsModalProps> = ({ ...@@ -107,13 +107,9 @@ export const SelectCardsModal: React.FC<SelectCardsModalProps> = ({
open={isOpen} open={isOpen}
footer={ footer={
<> <>
{cancelable && ( {cancelable && <Button onClick={onCancel}>{cancelText}</Button>}
<Button danger onClick={onCancel}>
{cancelText}
</Button>
)}
{finishable && ( {finishable && (
<Button type="dashed" onClick={onFinish}> <Button type="primary" onClick={onFinish}>
{finishText} {finishText}
</Button> </Button>
)} )}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment