Skip to content

Commit

Permalink
Add focus indicator to Document Handler (#1566)
Browse files Browse the repository at this point in the history
  • Loading branch information
sweco-semtsg authored Nov 26, 2024
1 parent e7b9582 commit 993bcb9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ const ContentContainer = styled(Grid)(({ theme }) => ({
paddingLeft: theme.spacing(2),
paddingRight: theme.spacing(2),
outline: "none",
"&:focus": {
backgroundColor: theme.palette.action.focus,
},
"&.fade-out": {
backgroundColor: "initial",
transition: "background-color 0.4s ease",
},
}));

const TocGridWrapper = styled(Grid)(({ theme }) => ({
Expand Down

0 comments on commit 993bcb9

Please sign in to comment.