Skip to content

Commit

Permalink
feat: enable view transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed May 8, 2024
1 parent e9736e8 commit f05ea82
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/modern/src/docfx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,13 @@ article {
}
}
}

@view-transition {
navigation: auto;
}

@media (prefers-reduced-motion) {
@view-transition {
navigation: none;
}
}

0 comments on commit f05ea82

Please sign in to comment.