Fix widget box styles on mypage

pull/3719/head
Magdalena Kafka 9 years ago
parent 3188a1e5d4
commit 1b6a82937a
  1. 4
      app/assets/stylesheets/content/_my_page.sass
  2. 5
      app/assets/stylesheets/content/_widget_box.sass
  3. 2
      app/views/my/page.html.erb

@ -46,6 +46,10 @@
#right
@extend .medium-6
.widget-boxes
.widget-box
margin-bottom: 20px
.handle
cursor: move

@ -57,7 +57,7 @@ $widget-box--enumeration-width: 20px
.widget-box
@include widget-box--style
padding: 10px 10px 10px 20px
padding: 10px 20px 30px 20px
min-height: 250px
word-wrap: break-word
overflow: hidden
@ -89,6 +89,9 @@ $widget-box--enumeration-width: 20px
list-style: none
margin: 0.5rem 0 1rem 0
&:last-child
margin-bottom: 0
li:before
@include icon-common
@extend .icon-context

@ -37,7 +37,7 @@ See doc/COPYRIGHT.rdoc for more details.
<% end %>
<div class="my-page--container">
<div id="top">
<div id="top" class="widget-boxes">
<%= render partial: 'block_container', locals: { edit: false, blocks: @blocks['top'] } %>
</div>
<div class="grid-block">

Loading…
Cancel
Save