Make details box on the right stick to the top
This commit is contained in:
parent
ffbadb220f
commit
bf9cba09b2
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
// Right-side panel on details page to display further information
|
// Right-side panel on details page to display further information
|
||||||
// about a package.
|
// about a package.
|
||||||
.bigpanel
|
.bigpanel.sticky data-sticky=true data-top-anchor="details"
|
||||||
// long description
|
// long description
|
||||||
p.subtitle
|
p.subtitle
|
||||||
= fa_icon 'info-circle'
|
= fa_icon 'info-circle'
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
/ = render(partial: 'reviews', locals: {pkg: @package})
|
/ = render(partial: 'reviews', locals: {pkg: @package})
|
||||||
#reviews data-package-reviews-url=package_reviews_path(@package.name)
|
#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_rightbox', locals: {pkg: @package})
|
||||||
|
|
||||||
/ = render(partial: 'details_uploadmodal')
|
/ = render(partial: 'details_uploadmodal')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue