Skip to content

Commit 88ae96d

Browse files
committed
docs: make Node migration cheatsheet tables full width
1 parent 89a7260 commit 88ae96d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

runtime/fundamentals/migrate_from_node.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ configure: eslint, prettier, jest, ts-node, nodemon, nyc, tsc. In Deno they're
112112
the same binary, with no extra dependencies and no config files to maintain. You
113113
can keep your existing `package.json`, or move configuration into `deno.json`.
114114

115+
<div class="cheatsheet">
116+
115117
### Run and watch
116118

117119
| Node.js | Deno |
@@ -157,3 +159,5 @@ without emitting, and the compiler is built into the `deno` binary.
157159
| ------------------- | -------------- |
158160
| `tsserver` | `deno lsp` |
159161
| `nvm` / `n` / `fnm` | `deno upgrade` |
162+
163+
</div>

style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@
486486
background-color: transparent;
487487
}
488488
}
489+
.cheatsheet table {
490+
width: 100%;
491+
}
489492
img {
490493
box-sizing: content-box;
491494
background-color: var(--bgColor-default, var(--color-canvas-default));

0 commit comments

Comments
 (0)