File tree Expand file tree Collapse file tree 8 files changed +16
-26
lines changed
packages/plugin-rsc/examples/basic/src/routes/css-queries Expand file tree Collapse file tree 8 files changed +16
-26
lines changed Original file line number Diff line number Diff line change 1- .test-css-query -client-inline {
1+ .test-css-inline -client {
22 padding : 8px ;
33 margin : 4px ;
44}
Original file line number Diff line number Diff line change 1- .test-css-query -client-raw {
1+ .test-css-raw -client {
22 font-weight : bold;
33}
Original file line number Diff line number Diff line change 1- .test-css-query -client-url {
1+ .test-css-url -client {
22 border : 2px solid rgb (0 , 0 , 255 );
33}
Original file line number Diff line number Diff line change @@ -7,18 +7,13 @@ import cssRaw from './client-raw.css?raw'
77export function TestCssQueriesClient ( ) {
88 return (
99 < div >
10- < div data-testid = "test-css-queries-client-url" >
11- CSS URL (client): { cssUrl }
12- </ div >
13- < div data-testid = "test-css-queries-client-inline" >
14- CSS Inline (client):{ ' ' }
10+ < div className = "test-css-url-client" > test-css-url-client: { cssUrl } </ div >
11+ < div className = "test-css-inline-client" >
12+ test-css-inline-client:{ ' ' }
1513 { typeof cssInline === 'string' ? 'string' : 'other' }
1614 </ div >
17- < div data-testid = "test-css-queries-client-raw" >
18- CSS Raw (client): { typeof cssRaw === 'string' ? 'string' : 'other' }
19- </ div >
20- < div data-testid = "test-css-queries-client-normal" >
21- Normal CSS import works (client)
15+ < div className = "test-css-raw-client" >
16+ test-css-raw-client: { typeof cssRaw === 'string' ? 'string' : 'other' }
2217 </ div >
2318 </ div >
2419 )
Original file line number Diff line number Diff line change 1- .test-css-query -server-inline {
1+ .test-css-inline -server {
22 padding : 4px ;
33 margin : 2px ;
44}
Original file line number Diff line number Diff line change 1- .test-css-query -server-raw {
1+ .test-css-raw -server {
22 text-decoration : underline;
33}
Original file line number Diff line number Diff line change 1- .test-css-query -server-url {
1+ .test-css-url -server {
22 border : 2px solid rgb (255 , 0 , 0 );
33}
Original file line number Diff line number Diff line change @@ -7,18 +7,13 @@ export function TestCssQueries() {
77 return (
88 < div >
99 < div >
10- < div data-testid = "test-css-queries-server-url" >
11- CSS URL (server): { cssUrl }
12- </ div >
13- < div data-testid = "test-css-queries-server-inline" >
14- CSS Inline (server):{ ' ' }
10+ < div className = "test-css-url-server" > test-css-url-server: { cssUrl } </ div >
11+ < div className = "test-css-inline-server" >
12+ test-css-inline-server:{ ' ' }
1513 { typeof cssInline === 'string' ? 'string' : 'other' }
1614 </ div >
17- < div data-testid = "test-css-queries-server-raw" >
18- CSS Raw (server): { typeof cssRaw === 'string' ? 'string' : 'other' }
19- </ div >
20- < div data-testid = "test-css-queries-server-normal" >
21- Normal CSS import works (server)
15+ < div className = "test-css-raw-server" >
16+ test-css-raw-server: { typeof cssRaw === 'string' ? 'string' : 'other' }
2217 </ div >
2318 </ div >
2419 < TestCssQueriesClient />
You can’t perform that action at this time.
0 commit comments