feat: make home-info-wrapper follow the scroll bar
This commit is contained in:
parent
7c70825d6f
commit
6e1442fba2
@ -223,6 +223,9 @@ export default {
|
||||
flex auto
|
||||
}
|
||||
.info-wrapper {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 70px;
|
||||
transition all .3s
|
||||
margin-left 15px;
|
||||
flex 0 0 300px
|
||||
|
@ -39,6 +39,8 @@ export default {
|
||||
box-sizing: border-box;
|
||||
transition all .3s
|
||||
background-color $bgColor
|
||||
&:last-child
|
||||
margin-bottom 0
|
||||
&:hover
|
||||
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
|
||||
.title
|
||||
|
Loading…
Reference in New Issue
Block a user