Files
freeCodeCamp/client/src/components/Flash/flash.css
Budbreaker bc802cbbbd feat: added warning for unreachable server (#43576)
* feat: added warning for unreachable server

* fix: update initial state in test file

* fix: make offline warning scroll with page

* adjust z-indexes for warning banners

* add hyperlink for offline warning
2021-10-06 15:18:02 +02:00

32 lines
514 B
CSS

.flash-message {
display: flex;
justify-content: space-around;
flex-direction: row-reverse;
margin-bottom: 0px;
padding-top: 3px;
padding-bottom: 3px;
position: fixed;
width: 100%;
z-index: 150;
}
.flash-message div {
max-width: 100%;
overflow-wrap: break-word;
}
.flash-message-enter {
opacity: 0;
}
.flash-message-enter-active {
opacity: 1;
transition: opacity 500ms;
}
.flash-message-exit {
opacity: 1;
}
.flash-message-exit-active {
opacity: 0;
transition: opacity 100ms;
}