Skip to content

Commit

Permalink
Merge pull request #83 from sheodox/remove-focus-outline-on-bg-elements
Browse files Browse the repository at this point in the history
Remove the focus outline of the post feed background
  • Loading branch information
sheodox committed Oct 19, 2023
2 parents e33dcf1 + b17a229 commit 6ecf4a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/feeds/posts/PostsPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class="feed-column feed-column-feed virtual-feed-scroll-container"
class="feed-column feed-column-feed virtual-feed-scroll-container default-focus-area"
tabindex={0}
use:focus
bind:this={feedColumnEl}
Expand Down
4 changes: 4 additions & 0 deletions src/routes/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ ul.hover-list {
}
}
}

.default-focus-area:focus {
outline: none;
}

0 comments on commit 6ecf4a6

Please sign in to comment.