Skip to content

Commit a9a09e1

Browse files
committed
feat(neuron-ui): set message dismission duration to 8s
1 parent 54e4bc0 commit a9a09e1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/neuron-ui/src/containers/Notification/Notification.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
&>div {
99
max-width: auto;
1010
margin: 3px;
11-
animation: autoDismiss 2.5s ease-out forwards;
11+
animation: autoDismiss 6.8s ease-out forwards;
1212
transform-origin: center top;
1313
box-sizing: border-box;
1414
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
@@ -20,8 +20,8 @@
2020
transform: translateX(110%)
2121
}
2222

23-
15%,
24-
85% {
23+
5%,
24+
90% {
2525

2626
transform: translateX(0)
2727
}

packages/neuron-ui/src/states/stateProvider/actionCreators/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const addPopup = (text: string) => (dispatch: StateDispatch) => {
9595
type: AppActions.PopOut,
9696
payload: null,
9797
})
98-
}, 3000)
98+
}, 8000)
9999
}
100100

101101
export default {

0 commit comments

Comments
 (0)