feat: adjusted the cards such that it's only one column for very small widths and the cards resize for smaller widths
Co-Authored-By: Tadios Temesgen <tt2022@ic.ac.uk>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #49bd85;
|
||||
width: 100%;
|
||||
max-width: 20rem;
|
||||
}
|
||||
.description {
|
||||
padding: 0.5rem;
|
||||
@@ -32,7 +34,8 @@
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
img {
|
||||
width: 16rem;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user