Add announcements banner loading content

Add leaflet type definitions
This commit is contained in:
Michał Gdula 2024-04-28 00:27:17 +01:00
parent 782c88d082
commit 05e3adb5bb
7 changed files with 149 additions and 24 deletions

View file

@ -9,23 +9,24 @@
img{
width: 100%;
max-height: 400%;
height: 400px;
display: block;
aspect-ratio: 16 / 7;
//aspect-ratio: 16 / 7;
object-fit: cover;
}
}
@media only screen and (max-width: 670px) {
.announcement-banner {
margin: -$spacing-normal;
margin: -$spacing-small;
margin-bottom: 0;
border-radius: 0;
//border-radius: 0;
img {
aspect-ratio: 16 / 9;
height: 250px;
//aspect-ratio: 16 / 9;
}
}
}