Skip to content

Commit

Permalink
[docs-infra] Fix mobile display in CodeSandbox (#38767)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 3, 2023
1 parent 31e2f14 commit c1c3647
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/modules/sandbox/CodeSandbox.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('CodeSandbox', () => {
<html lang="en">
<head>
<title>BasicButtons Material Demo</title>
<meta name="viewport" content="initial-scale=1, width=device-width" />
<!-- Fonts to support Material Design -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down Expand Up @@ -137,6 +138,7 @@ ReactDOM.createRoot(document.querySelector("#root")).render(
<html lang="en">
<head>
<title>BasicButtons Material Demo</title>
<meta name="viewport" content="initial-scale=1, width=device-width" />
<!-- Fonts to support Material Design -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down
1 change: 1 addition & 0 deletions docs/src/modules/sandbox/CreateReactApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const getHtml = ({
<html lang="${language}">
<head>
<title>${title}</title>
<meta name="viewport" content="initial-scale=1, width=device-width" />
<!-- Fonts to support Material Design -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down
2 changes: 2 additions & 0 deletions docs/src/modules/sandbox/StackBlitz.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ describe('StackBlitz', () => {
<html lang="en">
<head>
<title>BasicButtons Material Demo</title>
<meta name="viewport" content="initial-scale=1, width=device-width" />
<!-- Fonts to support Material Design -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down Expand Up @@ -110,6 +111,7 @@ ReactDOM.createRoot(document.querySelector("#root")).render(
<html lang="en">
<head>
<title>BasicButtons Material Demo</title>
<meta name="viewport" content="initial-scale=1, width=device-width" />
<!-- Fonts to support Material Design -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down

0 comments on commit c1c3647

Please sign in to comment.