Skip to content

Commit

Permalink
fix: fix alert message were not showing well
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielCarames committed Oct 13, 2022
1 parent 1e12735 commit 92ac86a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/AlertMessage/AlertMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function AlertMessage() {
useEffect(() => {
setTimeout(() => {
dispatch(closeAlertMessage())
}, 10000)
}, 1000000)
}, [])

const typesIcon: {
Expand Down
3 changes: 2 additions & 1 deletion src/components/AlertMessage/_alertMessage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
border: 2px solid $primaryColorLight;
border-radius: 10px;
animation: appear 1s, disappear 1s linear 9.5s;
z-index: 10;
z-index: 1000;
background-color: $primaryColor;
.alert-message__icon {
width: 30px;
height: 30px;
Expand Down
3 changes: 2 additions & 1 deletion src/scss/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,8 @@ html body #root .App ul {
border-radius: 10px;
-webkit-animation: appear 1s, disappear 1s linear 9.5s;
animation: appear 1s, disappear 1s linear 9.5s;
z-index: 10;
z-index: 1000;
background-color: #1c1d22;
}
.alert-message .alert-message__icon {
width: 30px;
Expand Down
Loading

0 comments on commit 92ac86a

Please sign in to comment.