diff --git a/_sass/code.scss b/_sass/code.scss index 614fa315099163f9bd89314110a733063a3cab30..22eb3157e0a0929d16bd9148a36208ad0af36ff1 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 bbd5cf879ac86a74678b9e42f5c2616a5e5c0646..7eef79dc876aa55ce1047749ef5324360508423b 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;