fix tables in mobile

This commit is contained in:
Leo Horie 2017-01-17 22:36:34 -05:00
parent b8e8afffa8
commit 810228c442
7 changed files with 77 additions and 49 deletions

View file

@ -186,8 +186,8 @@ JSX is useful for teams where HTML is primarily written by someone without Javas
Hyperscript is the compiled representation of JSX. It's designed to be readable and can also be used as-is, instead of JSX (as is done in most of the documentation). Hyperscript tends to be terser than JSX for a couple of reasons:
1 - it does not require repeating the tag name in closing tags (e.g. `m("div")` vs `<div></div>`)
2 - static attributes can be written using CSS selector syntax (i.e. `m("a.button")` vs `<div class="button"></div>`
- it does not require repeating the tag name in closing tags (e.g. `m("div")` vs `<div></div>`)
- static attributes can be written using CSS selector syntax (i.e. `m("a.button")` vs `<div class="button"></div>`
In addition, since hyperscript is plain Javascript, it's often more natural to indent than JSX: