mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-18 12:09:29 -07:00
style for mobile gallery component
This commit is contained in:
16
assets/css/_partial/_imagesMobile.scss
Normal file
16
assets/css/_partial/_imagesMobile.scss
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user