style for mobile gallery component

This commit is contained in:
Spedon
2023-05-04 12:33:38 +08:00
parent c610f01d51
commit c8f2ecad84

View File

@@ -0,0 +1,16 @@
.imagesMobile {
height: 100vh;
overflow: scroll;
position: relative;
img {
height: 20vh;
width: 60vw;
object-fit: contain;
position: sticky;
top: 50vh;
margin-left: 0;
margin-right: 0;
margin-bottom: 20vh;
}
}