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