Fixed missing border in search metadata

This commit is contained in:
squidfunk 2020-02-25 21:04:57 +01:00
parent 309c2b7c03
commit 913e9f4369
2 changed files with 7 additions and 1 deletions

View File

@ -435,7 +435,7 @@ $md-toggle__search--checked:
&__scrollwrap { &__scrollwrap {
height: 100%; height: 100%;
background-color: var(--md-default-bg-color); 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; overflow-y: auto;
scroll-snap-type: y mandatory; scroll-snap-type: y mandatory;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;

View File

@ -54,6 +54,12 @@
padding: 0; padding: 0;
list-style: none; list-style: none;
white-space: nowrap; white-space: nowrap;
// Adjust for right-to-left languages
[dir="rtl"] & {
margin-right: px2rem(4px);
margin-left: initial;
}
} }
// List item // List item