Skip to content

Commit e25f4d4

Browse files
committed
Limit masthead view transitions to desktop only
1 parent d74de45 commit e25f4d4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

_includes/css/components.page-head--masthead.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_includes/header--masthead.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
{% include ribbon.html %}
1313

14-
<header class="page-head page-head--masthead" elementtiming=masthead style="view-transition-name: masthead;">
14+
<header class="page-head page-head--masthead" elementtiming=masthead>
1515

1616
<div class=wrapper>
1717

css/isolated/components.page-head--masthead.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151

5252
@include media-query(desk) {
5353
background-image: url(/img/css/masthead-large.jpg), url(/img/css/masthead-large-lqip.jpg), var(--base64);
54+
view-transition-name: masthead;
5455
}
5556

5657
> .wrapper { /* [2] */

0 commit comments

Comments
 (0)