Skip to content

Commit

Permalink
Remove focus-visible outline from headings
Browse files Browse the repository at this point in the history
This was introduced by using NodeViews.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Sep 20, 2022
1 parent 3d00039 commit a4e89e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nodes/Heading/HeadingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ div.ProseMirror {
&:hover .heading-anchor {
opacity: 0.5!important;
}
&:focus-visible {
outline: none;
}
}
// Shrink clickable area of anchor permalinks while editing
Expand Down

0 comments on commit a4e89e3

Please sign in to comment.