Refactor: Use pixels instead of vw to space flash messages
This commit is contained in:
parent
68c374fee9
commit
2203cb0f90
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue