Fix theme images loading (#2517)
* chore: format themes file * feat: add aspect ratio to theme images
This commit is contained in:
parent
8aedec9843
commit
0056851e31
|
@ -1,4 +1,3 @@
|
|||
|
||||
.themes-container {
|
||||
padding: 3rem;
|
||||
width: 80%;
|
||||
|
@ -32,6 +31,7 @@
|
|||
|
||||
img {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
height: 90%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
@ -54,14 +54,14 @@
|
|||
margin-right: 2rem;
|
||||
}
|
||||
|
||||
h1, p {
|
||||
h1,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (max-width: 1000px) {
|
||||
.themes .theme {
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in New Issue