diff --git a/app/assets/stylesheets/_misc_legacy.sass b/app/assets/stylesheets/_misc_legacy.sass index ae883418b9..4a1a8858b8 100644 --- a/app/assets/stylesheets/_misc_legacy.sass +++ b/app/assets/stylesheets/_misc_legacy.sass @@ -639,3 +639,10 @@ h4.comment a.impaired--empty-link, .impaired--empty-link color: inherit + +/* Align widget boxes with description above on project overview */ +.project-overview + margin: 0 -1rem + + .widget-box + margin-bottom: 20px diff --git a/app/assets/stylesheets/content/_my_page.sass b/app/assets/stylesheets/content/_my_page.sass index f0f85711ce..b615bdba08 100644 --- a/app/assets/stylesheets/content/_my_page.sass +++ b/app/assets/stylesheets/content/_my_page.sass @@ -50,6 +50,9 @@ .widget-box margin-bottom: 20px + &:last-child + margin-bottom: 10px + .handle cursor: move @@ -79,10 +82,11 @@ div.box-actions .left, .right @extend .medium-6 - .left - padding: 0 10px 0px 4px - .right - padding: 0 4px 0 10px + .widget-box + margin-bottom: 20px + + &:last-child + margin-bottom: 10px .block-receiver border: 1px dashed $my-page-edit-box-border-color diff --git a/app/assets/stylesheets/content/_widget_box.sass b/app/assets/stylesheets/content/_widget_box.sass index 18493d4f87..28224e86c5 100644 --- a/app/assets/stylesheets/content/_widget_box.sass +++ b/app/assets/stylesheets/content/_widget_box.sass @@ -55,6 +55,14 @@ $widget-box--enumeration-width: 20px .icon-context:before padding-right: 5px + &.grid-content + padding-left: 10px + padding-right: 10px + + .widget-box + margin-left: 0 + margin-right: 0 + .widget-box @include widget-box--style padding: 10px 20px 30px 20px diff --git a/app/views/projects/_members_box.html.erb b/app/views/projects/_members_box.html.erb index deacdd13f0..f03ba22ab2 100644 --- a/app/views/projects/_members_box.html.erb +++ b/app/views/projects/_members_box.html.erb @@ -28,8 +28,11 @@ See doc/COPYRIGHT.rdoc for more details. ++#%> <% if @users_by_role.any? %> -