Fixed CSS for photos
This commit is contained in:
@@ -23,13 +23,15 @@
|
|||||||
|
|
||||||
.image-panel {
|
.image-panel {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: 100%;
|
||||||
aspect-ratio: 25.375 / 18.125;
|
aspect-ratio: 25.375 / 18.125;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-panel-popup {
|
.image-panel-popup {
|
||||||
|
|||||||
@@ -74,14 +74,14 @@
|
|||||||
place-self: center start;
|
place-self: center start;
|
||||||
width: calc(10 / 12 * 100%);
|
width: calc(10 / 12 * 100%);
|
||||||
height: auto;
|
height: auto;
|
||||||
aspect-ratio: auto;
|
aspect-ratio: 25 / 16;
|
||||||
object-fit: contain;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 2.5rem;
|
border-radius: 2.5rem;
|
||||||
box-shadow: 7px 7px 50px 4px rgba(88, 24, 30, 0.4);
|
box-shadow: 7px 7px 50px 4px rgba(88, 24, 30, 0.4);
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.iecep-day-text {
|
.iecep-day-text {
|
||||||
|
|||||||
Reference in New Issue
Block a user