From b9195289a51a8c9cc317ee6578d772a407588335 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Tue, 2 Jul 2019 17:53:17 +0300 Subject: [PATCH] fix(docs-infra): remove redundant `search-results` styles (#31390) Previously, `.search-area` had a default style of `display: flex`, but it was overriden to `display: block` in media queries for `max-width: 480px` and `min-width: 600px`. As a result, it only had `display: flex` between 481px and 599px. Since no flex layout features are necessary inside `.search-area`, this commit changes the style to always be `display: block` (i.e. the default for `div` elements). PR Close #31390 --- aio/src/styles/2-modules/_search-results.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/aio/src/styles/2-modules/_search-results.scss b/aio/src/styles/2-modules/_search-results.scss index 8f17a6d3f2..8b9598901e 100644 --- a/aio/src/styles/2-modules/_search-results.scss +++ b/aio/src/styles/2-modules/_search-results.scss @@ -19,8 +19,6 @@ aio-search-results { box-sizing: border-box; .search-area { - display: flex; - flex-direction: column; margin: 16px; height: 100%; @@ -66,18 +64,10 @@ aio-search-results { } } } - - @include bp(tiny) { - display: block; - } } @media (max-width: 480px) { display: block; - - .search-area { - display: block; - } } }