Design of details box fixed

This commit is contained in:
Christoph Haas 2017-04-05 15:32:40 +02:00
parent 6cf1655115
commit e90f8fc53e
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.sticky data-sticky=true data-top-anchor="details"
.bigpanel.sticky data-sticky=true data-anchor="details"
// long description
p.subtitle
= fa_icon 'info-circle'

View file

@ -4,12 +4,12 @@
.small-12.columns
h1 =@package.name
.row.packagepage
.small-7.medium-7.columns.packagepage
p.subtitle = @package.description
- if screenshots_visible_to_user(@package).count > 0
- screenshots_visible_to_user(@package).each do |screenshot|
.row.listview
.small-12.columns
.text-center
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)