minor UI fixes

This commit is contained in:
sairaj mote 2022-04-05 20:34:37 +05:30
parent fc5cd4b44d
commit 828b803a34
4 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,7 @@ body {
scrollbar-gutter: stable;
color: rgba(var(--text-color), 1);
background: rgba(var(--background-color), 1);
transition: background-color 0.3s;
}
body,
body * {
@ -620,6 +621,7 @@ sm-copy {
grid-template-columns: auto 1fr auto auto;
background-color: rgba(var(--background-color), 1);
z-index: 10;
transition: background-color 0.3s;
}
#expanding_search {

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -30,6 +30,7 @@ body {
scrollbar-gutter: stable;
color: rgba(var(--text-color), 1);
background: rgba(var(--background-color), 1);
transition: background-color 0.3s;
}
body[data-theme="dark"] {
@ -581,6 +582,7 @@ sm-copy {
grid-template-columns: auto 1fr auto auto;
background-color: rgba(var(--background-color), 1);
z-index: 10;
transition: background-color 0.3s;
}
#expanding_search {
position: absolute;

View File

@ -1373,6 +1373,7 @@
// heroImage: allImages[articleDetail.uid] ? allImages[articleDetail.uid].heroImage.thumbnail : ''
}))
})
getRef('explore_heading').textContent = 'Explore all'
} else {
const options = (type === 'category') ? { keys: ['categories'], threshold: 0 } : { keys: ['title', 'categories', 'tags'], threshold: 0.3 }
const fuse = new Fuse(sortedByTime, options)