refactor(bulma): make thumbnail row use same width images and crop when necessary
This commit is contained in:
@@ -63,6 +63,28 @@
|
||||
IMAGES
|
||||
*****/
|
||||
|
||||
.crop {
|
||||
#my-gallery .main-photo img {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
object-fit: cover;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.thumbnail-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.thumbnail img {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
object-fit: cover;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Ensure each thumbnail takes equal width */
|
||||
.thumbnail {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user