diff --git a/fixtures/view-transition/src/components/Page.css b/fixtures/view-transition/src/components/Page.css index 4bdf5644efadf..e7d876681d872 100644 --- a/fixtures/view-transition/src/components/Page.css +++ b/fixtures/view-transition/src/components/Page.css @@ -8,7 +8,16 @@ } .swipe-recognizer { - width: 200px; - border: 1px solid #333333; + width: 300px; + background: #eee; border-radius: 10px; + padding: 20px; } + +.button { + background: #000; + color: #fff; + border: 0px; + border-radius: 5px; + padding: 10px; +} \ No newline at end of file diff --git a/fixtures/view-transition/src/components/Page.js b/fixtures/view-transition/src/components/Page.js index 48288da25234f..ee4b95331f759 100644 --- a/fixtures/view-transition/src/components/Page.js +++ b/fixtures/view-transition/src/components/Page.js @@ -74,75 +74,80 @@ export default function Page({url, navigate}) { ); return ( -
- - -
- -
- -

{!show ? 'A' : 'B'}

-
-
-
- -

{!show ? 'A' + counter : 'B' + counter}

-
- {show ? ( -
- {a} - {b} -
- ) : ( -
- {b} - {a} -
- )} - - {show ?
hello{exclamation}
:
Loading
} -
-

scroll me

-

- -

-

-

-

-

-

-
- - Swipe me - -
-

-

- {show ? null : ( +
+ + + +
-
world{exclamation}
+
+ +

{!show ? 'A' : 'B' + counter}

+
+
+
+ +

{!show ? 'A' + counter : 'B'}

- )} - + {show ? ( +
+ {a} + {b} +
+ ) : ( +
+ {b} + {a} +
+ )} -
!!
+ {show ? ( +
hello{exclamation}
+ ) : ( +
Loading
+ )}
-
- {show ? : null} -
-
+

+ +

+ {show ? null : ( + +
world{exclamation}
+
+ )} + + +
!!
+
+
+

these

+

rows

+

exist

+

to

+

test

+

scrolling

+

content

+

out

+

of

+

the

+

viewport

+ {show ? : null} +
+ +
); }