Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackBlitz #10

Open
wants to merge 5 commits into
base: roberto/bump-api-version
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Please note that your deployed page must be served over HTTPS. This is not neces

## Demo

Check [the WebContainer API demo app](webcontainer.new).
Check [the WebContainer API demo app](https://webcontainer.new).

Here's an example `main.ts` file:

Expand Down
12 changes: 9 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
box-sizing: border-box;
}

:root {
font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica Neue, sans-serif;
color: black;
background: white;
}

body {
margin: 0.5rem 1rem;
height: 100vh;
font-family: "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
}

header {
Expand Down Expand Up @@ -39,8 +43,10 @@ textarea {
background: black;
color: white;
padding: 0.5rem 1rem;
font-size: 120%;
margin-bottom: 10px;
font-size: 0.9rem;
line-height: 1.2rem;
font-family: Menlo, Cascadia Code, Consolas, Liberation Mono, monospace;
}

.container {
Expand Down