From 1b6a82937a6574e638649ffb34bc5493fe7fe7b3 Mon Sep 17 00:00:00 2001 From: Magdalena Kafka Date: Fri, 30 Oct 2015 15:42:11 +0100 Subject: [PATCH] Fix widget box styles on mypage --- app/assets/stylesheets/content/_my_page.sass | 4 ++++ app/assets/stylesheets/content/_widget_box.sass | 5 ++++- app/views/my/page.html.erb | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/content/_my_page.sass b/app/assets/stylesheets/content/_my_page.sass index fd8c68debb..3703dcce58 100644 --- a/app/assets/stylesheets/content/_my_page.sass +++ b/app/assets/stylesheets/content/_my_page.sass @@ -46,6 +46,10 @@ #right @extend .medium-6 + .widget-boxes + .widget-box + margin-bottom: 20px + .handle cursor: move diff --git a/app/assets/stylesheets/content/_widget_box.sass b/app/assets/stylesheets/content/_widget_box.sass index a7c31c54d1..18493d4f87 100644 --- a/app/assets/stylesheets/content/_widget_box.sass +++ b/app/assets/stylesheets/content/_widget_box.sass @@ -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 diff --git a/app/views/my/page.html.erb b/app/views/my/page.html.erb index fe5f37ee82..81a0eb8294 100644 --- a/app/views/my/page.html.erb +++ b/app/views/my/page.html.erb @@ -37,7 +37,7 @@ See doc/COPYRIGHT.rdoc for more details. <% end %>
-
+
<%= render partial: 'block_container', locals: { edit: false, blocks: @blocks['top'] } %>