Skip to content

Commit

Permalink
Moved message component to appear at the bottom (#227)
Browse files Browse the repository at this point in the history
* moved `message` component to appear at the bottom

* build files
  • Loading branch information
Corepex authored Apr 30, 2024
1 parent 9951850 commit 7a53da7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions assets/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,31 @@
* {
box-sizing: border-box;
}

/** MESSAGE **/
.ant-message {
position: absolute;
bottom: 20px !important;
top: unset !important;
}

@keyframes moveUp {
0% {
transform: translateY(+30%);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}

.ant-message .ant-message-move-up-appear,
.ant-message .ant-message-move-up-enter {
animation-name: moveUp;
}

.ant-message .ant-message-move-up-leave {
animation-name: moveUp;
animation-direction: reverse;
}
2 changes: 1 addition & 1 deletion public/build/entrypoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"/bundles/pimcorestudioui/build/main.db779347.js"
],
"css": [
"/bundles/pimcorestudioui/build/main.3691bcd8.css"
"/bundles/pimcorestudioui/build/main.68ad8b69.css"
]
}
}
Expand Down
Loading

0 comments on commit 7a53da7

Please sign in to comment.