Skip to content

Commit

Permalink
fix(css): add default position
Browse files Browse the repository at this point in the history
  • Loading branch information
toddlawton committed Nov 30, 2016
1 parent ea91102 commit 3154d0d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions dist/ScrollMagnetItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
</script>

<style scoped>
.scroll-magnet-item {
position: relative;
}
.is-scrolling {
position: fixed;
top: 0;
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-scroll-magnet.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/themes/apollo
Submodule apollo updated from f79877 to aa3f0c
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-scroll-magnet",
"version": "0.2.5",
"version": "0.2.6",
"description": "Wrappers for Vue components which follow the viewport while scrolling within the bounds of their parent container",
"author": "Todd Beauchamp <[email protected]>",
"main": "src/index.js",
Expand Down
4 changes: 4 additions & 0 deletions src/ScrollMagnetItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
</script>

<style scoped>
.scroll-magnet-item {
position: relative;
}
.is-scrolling {
position: fixed;
top: 0;
Expand Down

0 comments on commit 3154d0d

Please sign in to comment.