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
|
// Right-side panel on details page to display further information
|
||||||
// about a package.
|
// about a package.
|
||||||
.bigpanel.sticky data-sticky=true data-top-anchor="details"
|
.bigpanel.sticky data-sticky=true data-anchor="details"
|
||||||
// long description
|
// long description
|
||||||
p.subtitle
|
p.subtitle
|
||||||
= fa_icon 'info-circle'
|
= fa_icon 'info-circle'
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@
|
||||||
.small-12.columns
|
.small-12.columns
|
||||||
h1 =@package.name
|
h1 =@package.name
|
||||||
|
|
||||||
|
.row.packagepage
|
||||||
.small-7.medium-7.columns.packagepage
|
.small-7.medium-7.columns.packagepage
|
||||||
p.subtitle = @package.description
|
p.subtitle = @package.description
|
||||||
- if screenshots_visible_to_user(@package).count > 0
|
- if screenshots_visible_to_user(@package).count > 0
|
||||||
- screenshots_visible_to_user(@package).each do |screenshot|
|
- screenshots_visible_to_user(@package).each do |screenshot|
|
||||||
.row.listview
|
.row.listview
|
||||||
.small-12.columns
|
|
||||||
.text-center
|
.text-center
|
||||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
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)
|
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue