Merge pull request #55 from vuepress-reco/feature/orange

feat: make home-info-wrapper follow the scroll bar
This commit is contained in:
reco_luan 2019-10-11 14:47:27 +08:00 committed by GitHub
commit dc8bb95981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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