fix alignment of announcement

main
Mike Fix 4 years ago
parent d3e48d88fb
commit 6fffe84b1c
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -60,12 +60,13 @@ function Toast() {
color: #fff;
border: 1px solid #fff;
border-radius: 2px;
margin-top: calc(var(--x4) * -1);
margin-top: -4.6rem;
animation-name: slide;
animation-duration: 600ms;
max-width: 100vw;
margin-left: auto;
margin-right: auto;
/* fix this to only set max width when necessary (mobile) */
max-width: 63vw;
}
.toast-content {
@ -93,6 +94,12 @@ function Toast() {
p {
margin: 0;
}
@media (max-width: 840px) {
.toast {
display: none;
}
}
`}
</style>
</div>

Loading…
Cancel
Save