diff --git a/ui/src/Components/Animations/MountFade/index.css b/ui/src/Components/Animations/MountFade/index.css index 96cc05776..37b4a1323 100644 --- a/ui/src/Components/Animations/MountFade/index.css +++ b/ui/src/Components/Animations/MountFade/index.css @@ -5,7 +5,7 @@ .components-animation-fade-appear-active, .components-animation-fade-enter-active { opacity: 1; - transition: opacity 0.15s ease-in; + transition: all 0.3s ease-in; } .components-animation-fade-exit { @@ -13,5 +13,5 @@ } .components-animation-fade-exit-active { opacity: 0.01; - transition: opacity 0.15s ease-out; + transition: all 0.3s ease-out; } diff --git a/ui/src/Components/Animations/MountFade/index.js b/ui/src/Components/Animations/MountFade/index.js index c63c9049a..5ae94cf10 100644 --- a/ui/src/Components/Animations/MountFade/index.js +++ b/ui/src/Components/Animations/MountFade/index.js @@ -8,7 +8,7 @@ import "./index.css"; const MountFade = ({ children, duration, ...props }) => ( -
+
+
) : null}
-
- + +
); } } diff --git a/ui/src/Components/Grid/AlertGrid/index.css b/ui/src/Components/Grid/AlertGrid/index.css new file mode 100644 index 000000000..3f4667fad --- /dev/null +++ b/ui/src/Components/Grid/AlertGrid/index.css @@ -0,0 +1,5 @@ +.components-grid-alertgrid-alertgroup { + transition-property: top, left; + transition-duration: 0.3s; + transition-timing-function: ease; +} diff --git a/ui/src/Components/Grid/AlertGrid/index.js b/ui/src/Components/Grid/AlertGrid/index.js index bb37d42cf..ccfe9a800 100644 --- a/ui/src/Components/Grid/AlertGrid/index.js +++ b/ui/src/Components/Grid/AlertGrid/index.js @@ -23,6 +23,8 @@ import { SilenceFormStore } from "Stores/SilenceFormStore"; import { AlertGroup } from "./AlertGroup"; import { GridSizesConfig, GetGridElementWidth } from "./Constants"; +import "./index.css"; + const AlertGrid = observer( class AlertGrid extends Component { static propTypes = {