Skip to content

Commit

Permalink
feat(neuron-ui): set message dismission duration to 8s
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Jul 30, 2019
1 parent 54e4bc0 commit a9a09e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
&>div {
max-width: auto;
margin: 3px;
animation: autoDismiss 2.5s ease-out forwards;
animation: autoDismiss 6.8s ease-out forwards;
transform-origin: center top;
box-sizing: border-box;
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
Expand All @@ -20,8 +20,8 @@
transform: translateX(110%)
}

15%,
85% {
5%,
90% {

transform: translateX(0)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const addPopup = (text: string) => (dispatch: StateDispatch) => {
type: AppActions.PopOut,
payload: null,
})
}, 3000)
}, 8000)
}

export default {
Expand Down

0 comments on commit a9a09e1

Please sign in to comment.