1
Fork 0

Refactor: Use pixels instead of vw to space flash messages

This commit is contained in:
Bauke 2019-11-11 13:14:29 +01:00
parent 68c374fee9
commit 2203cb0f90
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 3 additions and 3 deletions

View File

@ -20,16 +20,16 @@ $extra-large-breakpoint: 1800px;
background-color: $background; background-color: $background;
color: $foreground; color: $foreground;
border: 0.25rem solid $blue; border: 0.25rem solid $blue;
bottom: 1vw; bottom: 20px;
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-left: 1vw; left: 20px;
overflow: hidden; overflow: hidden;
opacity: 0; opacity: 0;
padding: 1rem; padding: 1rem;
position: fixed; position: fixed;
transition: opacity 0.5s; transition: opacity 0.5s;
width: 30vw; width: 350px;
&:hover { &:hover {
cursor: pointer; cursor: pointer;