Skip to content

Commit c52e4c1

Browse files
authored
[6.0] Cassiopeia - Add view-transition for pages (#45786)
* add view-transition for pages * shorten css declaration
1 parent 5ab8f08 commit c52e4c1

File tree

1 file changed

+6
-0
lines changed
  • build/media_source/templates/site/cassiopeia/scss/blocks

1 file changed

+6
-0
lines changed

build/media_source/templates/site/cassiopeia/scss/blocks/_global.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
// Global
2+
@media screen and (prefers-reduced-motion: no-preference) {
3+
@view-transition {
4+
navigation: auto;
5+
}
6+
}
7+
28
:root {
39
scroll-behavior: smooth;
410
font-size: $font-size-root;

0 commit comments

Comments
 (0)