style: Fixed mobile, enhanced homepage
This commit is contained in:
@@ -731,7 +731,50 @@
|
||||
|
||||
@media screen and (max-width: $screen-desktop-min) {
|
||||
.dropdown {
|
||||
top: calc(100% + 1rem);
|
||||
left: 3px;
|
||||
right: 3px;
|
||||
|
||||
top: calc(100% + 9px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gallery-collage {
|
||||
display: flex;
|
||||
|
||||
place-content: center;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
|
||||
flex-wrap: wrap;
|
||||
|
||||
width: 100%;
|
||||
|
||||
max-width: 64rem;
|
||||
|
||||
& > .card {
|
||||
padding: 3px;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
@media screen and (max-width: $screen-desktop-min) {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
img {
|
||||
display: grid;
|
||||
|
||||
max-width: 25rem;
|
||||
max-height: 25rem;
|
||||
|
||||
border-radius: 3px;
|
||||
|
||||
@media screen and (max-width: $screen-desktop-min) {
|
||||
max-height: none;
|
||||
|
||||
width: 25rem;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user