From c057771cca53e1cfd9497fc374b677a643599f75 Mon Sep 17 00:00:00 2001 From: Silvio Giebl <silvio.giebl@hivemq.com> Date: Tue, 3 Dec 2019 09:20:22 +0100 Subject: [PATCH] Fixed css style --- _sass/code.scss | 2 +- _sass/search.scss | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_sass/code.scss b/_sass/code.scss index 614fa315..22eb3157 100644 --- a/_sass/code.scss +++ b/_sass/code.scss @@ -15,9 +15,9 @@ pre.highlight, figure.highlight { padding: $sp-3; margin-bottom: 0; + background-color: $code-background-color; border-radius: $border-radius; -webkit-overflow-scrolling: touch; - background-color: $code-background-color; code { padding: 0; diff --git a/_sass/search.scss b/_sass/search.scss index bbd5cf87..7eef79dc 100644 --- a/_sass/search.scss +++ b/_sass/search.scss @@ -11,8 +11,8 @@ padding-bottom: $sp-2; @include mq(md) { - height: 100%; max-width: $search-results-width; + height: 100%; padding-top: 0; padding-bottom: 0; } @@ -93,8 +93,8 @@ max-height: calc(100vh - 100%); overflow-y: auto; background: $search-background-color; - border-bottom-left-radius: $border-radius; border-bottom-right-radius: $border-radius; + border-bottom-left-radius: $border-radius; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08); @include mq(md) { @@ -202,11 +202,11 @@ .search-overlay { position: fixed; - z-index: 1; top: 0; left: 0; width: 0; height: 0; + z-index: 1; background-color: rgba(0, 0, 0, 0.2); opacity: 0; transition: opacity ease 200ms; -- GitLab