generated from muhtadeetaron/nextjs-template
fixed sliding gallery, fixed styling
This commit is contained in:
@ -22,14 +22,16 @@
|
||||
}
|
||||
|
||||
.slide {
|
||||
min-width: calc(100% - 72px);
|
||||
min-width: 100%;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
scroll-snap-align: start;
|
||||
padding: 0 36px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
.link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
@ -37,14 +39,13 @@
|
||||
}
|
||||
|
||||
.facebook {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: space-evenly;
|
||||
flex-direction: row;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 25px;
|
||||
padding: 20px;
|
||||
padding: 40px 40px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user