Design of details box fixed
This commit is contained in:
parent
6cf1655115
commit
e90f8fc53e
2 changed files with 2 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue