fixed #1018 - aspects width on /aspects/manage

This commit is contained in:
Sebastian 2011-05-31 18:27:55 +02:00
parent 35a0a13b5e
commit d9f23b5e2a
2 changed files with 7 additions and 5 deletions

View file

@ -17,8 +17,8 @@
#manage_aspect_zones
.span-24.last
- for aspect in @aspects
.aspect.span-9{:data=>{:guid => aspect.id}}
- @aspects.each_with_index do |aspect, i|
.aspect.span-12{:data => {:guid => aspect.id}, :class => (i+1) % 2 == 0 ? "last" : nil}
.aspect_name
%span.edit_name_field
%h3{:contenteditable=>true, :ondragenter=>"return false;", :ondragleave=>"return false;", :ondragover=>"return false;", :ondrop=>"return false;"}

View file

@ -1334,9 +1334,11 @@ ul#aspect_nav
:background-color rgb(252,252,252)
.aspect
:margin
:right 20px
:margin-right 20px // overwriting default of 10px from grid
&.last
:margin-right 0
&.span-12
:width 465px // overwriting default of 470px from grid
.requests
ul.dropzone