Implement table.-no-wrap

This commit is contained in:
Rico Sta. Cruz 2017-10-02 13:04:18 +08:00
parent 9189ff4551
commit 22db0dab5c
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
4 changed files with 15 additions and 7 deletions

View File

@ -136,3 +136,10 @@
font-weight: bold; font-weight: bold;
} }
} }
.MarkdownBody table.-no-wrap {
& td,
& th {
white-space: nowrap;
}
}

View File

@ -37,6 +37,7 @@ See: [H3 sections](#h3-sections-1)
| `-bold-first` | Bold first column | | `-bold-first` | Bold first column |
| `-headers` | Show headers | | `-headers` | Show headers |
| `-left-align` | Don't right align last column | | `-left-align` | Don't right align last column |
| `-no-wrap` | Don't wrap text |
| `-shortcuts` | Shortcut keys | | `-shortcuts` | Shortcut keys |
See: [Tables](#tables-1) See: [Tables](#tables-1)

6
ie.md
View File

@ -34,7 +34,7 @@ updated: 2017-09-20
| `:target` | | | | 9 ✓ | ✓ | | `:target` | | | | 9 ✓ | ✓ |
| `::selection` | | | | 9 ✓ | ✓ | | `::selection` | | | | 9 ✓ | ✓ |
| `:root` | | | | 9 ✓ | ✓ | | `:root` | | | | 9 ✓ | ✓ |
{: .-headers} {: .-headers.-no-wrap}
`first-child:` doesn't work for elements inserted via JS. `first-child:` doesn't work for elements inserted via JS.
@ -69,7 +69,7 @@ updated: 2017-09-20
| `text-shadow` — [polyfill][text-shadow] | | | | | 10 ✓ | ✓ | | `text-shadow` — [polyfill][text-shadow] | | | | | 10 ✓ | ✓ |
| ---------------------------------------------------------- | - | - | - | - | -- | -- | | ---------------------------------------------------------- | - | - | - | - | -- | -- |
| `border-image` | | | | | | 11 ✓ | | `border-image` | | | | | | 11 ✓ |
{: .-headers} {: .-headers.-no-wrap}
`inline-block:` IE6/7 can only support inline-block for elements that are naturally inline, like span `inline-block:` IE6/7 can only support inline-block for elements that are naturally inline, like span
@ -97,7 +97,7 @@ updated: 2017-09-20
| JS: Web sockets | | | | | 10 ✓ | ✓ | | JS: Web sockets | | | | | 10 ✓ | ✓ |
| ---------------------------------------------------------- | - | - | - | - | -- | -- | | ---------------------------------------------------------- | - | - | - | - | -- | -- |
| JS: Fullscreen mode | | | | | | 11 ✓ | | JS: Fullscreen mode | | | | | | 11 ✓ |
{: .-headers} {: .-headers.-no-wrap}
`flexbox:` IE10 only supports the 2012 syntax with -ms- prefix. `flexbox:` IE10 only supports the 2012 syntax with -ms- prefix.

View File

@ -18,7 +18,7 @@ intro: |
| McDonald's | [mcdonalds.com.ph](http://www.mcdonalds.com.ph/mcdelivery) | `8-6236` | | McDonald's | [mcdonalds.com.ph](http://www.mcdonalds.com.ph/mcdelivery) | `8-6236` |
| Pancake House | [pancakehouse.com.ph](https://www.pancakehouse.com.ph/) | `7-9000` | | Pancake House | [pancakehouse.com.ph](https://www.pancakehouse.com.ph/) | `7-9000` |
| Wendy's | [wendys.com.ph](https://wendys.com.ph/delivery/) | `533-3333` | | Wendy's | [wendys.com.ph](https://wendys.com.ph/delivery/) | `533-3333` |
{: .-bold-first.-headers} {: .-bold-first.-headers.-no-wrap}
### Pizza ### Pizza
@ -31,7 +31,7 @@ intro: |
| Pizza Hut | [pizzahut.com.ph](https://order.pizzahut.com.ph) | `911-1111` | | Pizza Hut | [pizzahut.com.ph](https://order.pizzahut.com.ph) | `911-1111` |
| Shakey's | [shakeyspizza.ph](http://order.shakeyspizza.ph/) | `77-7777` | | Shakey's | [shakeyspizza.ph](http://order.shakeyspizza.ph/) | `77-7777` |
| Yellow Cab | [yellowcabpizza.com](http://delivery.yellowcabpizza.com/) | `789-9999` | | Yellow Cab | [yellowcabpizza.com](http://delivery.yellowcabpizza.com/) | `789-9999` |
{: .-bold-first.-headers} {: .-bold-first.-headers.-no-wrap}
### Asian ### Asian
@ -39,7 +39,7 @@ intro: |
| --- | --- | --- | | --- | --- | --- |
| Chowking | [chowkingdelivery.com](http://www.chowkingdelivery.com) | `9-8888` | | Chowking | [chowkingdelivery.com](http://www.chowkingdelivery.com) | `9-8888` |
| North Park | [northparkdelivery.com](http://northparkdelivery.com/) | `7-3737` | | North Park | [northparkdelivery.com](http://northparkdelivery.com/) | `7-3737` |
{: .-bold-first.-headers} {: .-bold-first.-headers.-no-wrap}
### Filipino ### Filipino
@ -49,7 +49,7 @@ intro: |
| Jollibee | [jollibeedelivery.com](http://jollibeedelivery.com) | `8-7000` | | Jollibee | [jollibeedelivery.com](http://jollibeedelivery.com) | `8-7000` |
| Mang Inasal | [manginasal.com](http://www.manginasal.com/menu/) _(menu)_ | `733-1111` | | Mang Inasal | [manginasal.com](http://www.manginasal.com/menu/) _(menu)_ | `733-1111` |
| Max's | [maxschicken.com](http://delivery.maxschicken.com/) | `7-9000` | | Max's | [maxschicken.com](http://delivery.maxschicken.com/) | `7-9000` |
{: .-bold-first.-headers} {: .-bold-first.-headers.-no-wrap}
## - ## -