Skip to content

Commit e8b86cf

Browse files
authored
chore(checker): align to center etc. (#508)
1 parent 9230363 commit e8b86cf

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This is a parser for [Web IDL](https://heycam.github.io/webidl/), a language
1010
[to specify web APIs in interoperable way](https://heycam.github.io/webidl/#introduction).
1111
This library supports both Node.js and the browser environment.
1212

13+
Try the online checker [here](/checker).
14+
1315
## Installation
1416

1517
Just the usual. For Node:

checker/index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<head>
55
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width">
67
<title>WebIDL 2 Checker</title>
78

89
<script type="module">
@@ -55,14 +56,23 @@
5556
});
5657
</script>
5758
<style>
59+
html {
60+
font-family: sans-serif;
61+
display: flex;
62+
flex-direction: column;
63+
align-items: center;
64+
}
65+
body, textarea {
66+
max-width: 100%;
67+
}
5868
textarea {
5969
font-family: monospace;
6070
}
6171
</style>
6272
</head>
6373

6474
<body>
65-
<h2>WebIDL Checker</h2>
75+
<h1>WebIDL Checker</h1>
6676
<p>This is an online checker for WebIDL built on the <a href="https://github.com/w3c/webidl2.js">webidl2.js</a>
6777
project.</p>
6878
<p>Enter your WebIDL to check below:</p>

0 commit comments

Comments
 (0)