Skip to content

Commit

Permalink
chore: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Apr 29, 2024
1 parent 3ec48f1 commit 9b2dd50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions src/client/theme-default/components/VPLocalSearchBox.vue
Expand Up @@ -291,11 +291,7 @@ watch(results, (r) => {
function scrollToSelectedResult() {
nextTick(() => {
const selectedEl = document.querySelector('.result.selected')
if (selectedEl) {
selectedEl.scrollIntoView({
block: 'nearest'
})
}
selectedEl?.scrollIntoView({ block: 'nearest' })
})
}
Expand Down
2 changes: 1 addition & 1 deletion src/node/markdown/plugins/containers.ts
Expand Up @@ -86,7 +86,7 @@ function createCodeGroup(options: Options): ContainerArgs {
if (tokens[idx].nesting === 1) {
const name = nanoid(5)
let tabs = ''
let checked = 'checked="checked"'
let checked = 'checked'

for (
let i = idx + 1;
Expand Down

0 comments on commit 9b2dd50

Please sign in to comment.