From 308b82acf1fb357c12f628dbb41627a52e3ef97c Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Wed, 30 Aug 2017 12:32:39 -0300 Subject: [PATCH] Fix scoping for widget styles. --- app/setup.php | 2 +- resources/assets/styles/layouts/_pages.scss | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/setup.php b/app/setup.php index 7eab31b..8325ed9 100644 --- a/app/setup.php +++ b/app/setup.php @@ -134,7 +134,7 @@ add_action('widgets_init', function () { 'aldine' ), 'id' => 'front-page-block', - 'before_widget' => '
', + 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' diff --git a/resources/assets/styles/layouts/_pages.scss b/resources/assets/styles/layouts/_pages.scss index 322c0e1..bb5c8dd 100644 --- a/resources/assets/styles/layouts/_pages.scss +++ b/resources/assets/styles/layouts/_pages.scss @@ -1,5 +1,5 @@ .home { - .widget, + .block, .latest-books { height: 445px; background-color: $white; @@ -28,7 +28,7 @@ } } - .widget { + .block { display: flex; flex-direction: column; justify-content: center; @@ -125,7 +125,7 @@ margin-top: -366px; } - .widget { + .block { width: 775px; margin-bottom: 119px; padding: 0 90px; @@ -169,7 +169,7 @@ @media (min-width: $large) { .home { - .widget { + .block { width: 1115px; height: 494px; } @@ -193,7 +193,7 @@ @media (min-width: $extra-large) { .home { - .widget { + .block { width: 1115px; box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09); }