Commit fe9369cd authored by timel's avatar timel

feat: styles

parent 30ac66cc
......@@ -14,8 +14,23 @@
top: 100% !important;
bottom: 0 !important;
transform: translateY(calc(50% - 66px));
.ant-modal-body {
animation: fadeout 0.3s forwards;
}
}
.neos-modal-wrap {
pointer-events: none;
}
@keyframes fadeout {
0% {
opacity: 1;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
......@@ -107,13 +107,9 @@ export const SelectCardsModal: React.FC<SelectCardsModalProps> = ({
open={isOpen}
footer={
<>
{cancelable && (
<Button danger onClick={onCancel}>
{cancelText}
</Button>
)}
{cancelable && <Button onClick={onCancel}>{cancelText}</Button>}
{finishable && (
<Button type="dashed" onClick={onFinish}>
<Button type="primary" onClick={onFinish}>
{finishText}
</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