Skip to content

Commit

Permalink
docs: fix broken table width under 450 screen width (#4734)
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris committed Sep 5, 2021
1 parent 97b8470 commit abfddf8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions docs/css/style.css
Expand Up @@ -352,6 +352,16 @@ figure#wallaby-logo figcaption {
-webkit-font-smoothing: antialiased;
}

table {
width: 100%;
}

table td {
border-top: 1px solid #eee;
vertical-align: top;
word-break: break-all;
}

@media all and (max-width: 960px) {
#copyright-notice {
max-width: initial;
Expand Down
18 changes: 9 additions & 9 deletions docs/index.md
Expand Up @@ -2316,15 +2316,15 @@ _Note_: Double quotes around the glob are recommended for portability.
When Mocha itself throws exception, the associated `Error` will have a `code` property. Where applicable, consumers should check the `code` property instead of string-matching against the `message` property. The following table describes these error codes:

| Code | Description |
| -------------------------------- | ------------------------------------------------------------ |
| ERR_MOCHA_INVALID_ARG_TYPE | wrong type was passed for a given argument |
| ERR_MOCHA_INVALID_ARG_VALUE | invalid or unsupported value was passed for a given argument |
| ERR_MOCHA_INVALID_EXCEPTION | a falsy or otherwise underspecified exception was thrown |
| ERR_MOCHA_INVALID_INTERFACE | interface specified in options not found |
| ERR_MOCHA_INVALID_REPORTER | reporter specified in options not found |
| ERR_MOCHA_NO_FILES_MATCH_PATTERN | test file(s) could not be found |
| ERR_MOCHA_UNSUPPORTED | requested behavior, option, or parameter is unsupported |
| Code | Description |
| ---------------------------------- | ------------------------------------------------------------ |
| `ERR_MOCHA_INVALID_ARG_TYPE` | wrong type was passed for a given argument |
| `ERR_MOCHA_INVALID_ARG_VALUE` | invalid or unsupported value was passed for a given argument |
| `ERR_MOCHA_INVALID_EXCEPTION` | a falsy or otherwise underspecified exception was thrown |
| `ERR_MOCHA_INVALID_INTERFACE` | interface specified in options not found |
| `ERR_MOCHA_INVALID_REPORTER` | reporter specified in options not found |
| `ERR_MOCHA_NO_FILES_MATCH_PATTERN` | test file(s) could not be found |
| `ERR_MOCHA_UNSUPPORTED` | requested behavior, option, or parameter is unsupported |

## Editor Plugins

Expand Down

0 comments on commit abfddf8

Please sign in to comment.