Skip to content

Commit

Permalink
Fix navigation (#77)
Browse files Browse the repository at this point in the history
* fix: fix #76

* fix: remove unnecessary flags from prettier
  • Loading branch information
maehr authored Oct 18, 2023
1 parent 5b83ce1 commit abdfaf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
"test": "playwright test",
"test:unit": "vitest",
"lint": "prettier --plugin-search-dir . --check . '!{CODE_OF_CONDUCT.md,LICENSE.md}' && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"lint": "prettier --check . '!{CODE_OF_CONDUCT.md,LICENSE.md}' && eslint .",
"format": "prettier --write .",
"prepare": "npm run prebuild && npm run format",
"prebuild": "node utils/sortJSON.js && node --experimental-json-modules utils/compileReadme.js",
"awesome-lint": "awesome-lint"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</footer>
</div>
<div class="drawer-side">
<label for="drawer" class="drawer-overlay" id="labelsidebar">close drawer</label>
<label for="drawer" class="drawer-overlay" id="labelsidebar"><span class="sr-only">close drawer</span></label>
<ul class="menu w-80 gap-2 bg-base-100 p-4">
<li aria-current={$page.url.pathname === '/' ? 'page' : undefined}>
<a class="btn {$page.url.pathname === '/' ? 'btn-secondary' : 'btn-ghost'}" href="{base}/"
Expand Down

0 comments on commit abdfaf8

Please sign in to comment.