minor UI fixes
This commit is contained in:
parent
fc5cd4b44d
commit
828b803a34
@ -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
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user