Fixed CSS for photos

This commit is contained in:
Kent Joseph T. Palima
2026-04-29 16:57:16 +08:00
parent 17d4332a3b
commit 3e6b461ff2
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -23,13 +23,15 @@
.image-panel {
width: 100%;
height: auto;
height: 100%;
aspect-ratio: 25.375 / 18.125;
overflow: hidden;
position: relative;
img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.image-panel-popup {
@@ -74,14 +74,14 @@
place-self: center start;
width: calc(10 / 12 * 100%);
height: auto;
aspect-ratio: auto;
object-fit: contain;
aspect-ratio: 25 / 16;
position: relative;
img {
width: 100%;
height: 100%;
border-radius: 2.5rem;
box-shadow: 7px 7px 50px 4px rgba(88, 24, 30, 0.4);
object-fit: cover;
}
}
.iecep-day-text {