mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(style): [message-box] border box (#12086)
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
backface-visibility: hidden;
|
||||
// To avoid small screen overflowing, see #11919
|
||||
box-sizing: border-box;
|
||||
|
||||
&:focus {
|
||||
outline: none !important;
|
||||
@@ -236,6 +238,7 @@
|
||||
transform: translate3d(0, -20px, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
@@ -247,6 +250,7 @@
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translate3d(0, -20px, 0);
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user