From 913e9f4369625f0c674343fdcea996445f15a055 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 25 Feb 2020 21:04:57 +0100 Subject: [PATCH] Fixed missing border in search metadata --- src/assets/stylesheets/layout/_search.scss | 2 +- src/assets/stylesheets/layout/_tabs.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/assets/stylesheets/layout/_search.scss b/src/assets/stylesheets/layout/_search.scss index a59cf0db6..24721d2ab 100644 --- a/src/assets/stylesheets/layout/_search.scss +++ b/src/assets/stylesheets/layout/_search.scss @@ -435,7 +435,7 @@ $md-toggle__search--checked: &__scrollwrap { height: 100%; background-color: var(--md-default-bg-color); - box-shadow: inset 0 px2rem(1px) 0 var(md-color-text--lightest); + box-shadow: inset 0 px2rem(1px) 0 var(--md-default-fg-color--lightest); overflow-y: auto; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; diff --git a/src/assets/stylesheets/layout/_tabs.scss b/src/assets/stylesheets/layout/_tabs.scss index 0d042158d..ce290356c 100644 --- a/src/assets/stylesheets/layout/_tabs.scss +++ b/src/assets/stylesheets/layout/_tabs.scss @@ -54,6 +54,12 @@ padding: 0; list-style: none; white-space: nowrap; + + // Adjust for right-to-left languages + [dir="rtl"] & { + margin-right: px2rem(4px); + margin-left: initial; + } } // List item