Make details box on the right stick to the top

This commit is contained in:
Christoph Haas 2017-04-02 17:53:38 +02:00
parent ffbadb220f
commit bf9cba09b2
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
// Right-side panel on details page to display further information
// about a package.
.bigpanel
.bigpanel.sticky data-sticky=true data-top-anchor="details"
// long description
p.subtitle
= fa_icon 'info-circle'

View file

@ -60,7 +60,7 @@
/ = render(partial: 'reviews', locals: {pkg: @package})
#reviews data-package-reviews-url=package_reviews_path(@package.name)
.small-5.medium-5.columns
#details.small-5.medium-5.columns data-sticky-container=true
= render(partial: 'details_rightbox', locals: {pkg: @package})
/ = render(partial: 'details_uploadmodal')