Skip to content

Commit abfddf8

Browse files
authored
docs: fix broken table width under 450 screen width (#4734)
Signed-off-by: Outsider <[email protected]>
1 parent 97b8470 commit abfddf8

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

docs/css/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,16 @@ figure#wallaby-logo figcaption {
352352
-webkit-font-smoothing: antialiased;
353353
}
354354

355+
table {
356+
width: 100%;
357+
}
358+
359+
table td {
360+
border-top: 1px solid #eee;
361+
vertical-align: top;
362+
word-break: break-all;
363+
}
364+
355365
@media all and (max-width: 960px) {
356366
#copyright-notice {
357367
max-width: initial;

docs/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,15 +2316,15 @@ _Note_: Double quotes around the glob are recommended for portability.
23162316
23172317
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:
23182318

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

23292329
## Editor Plugins
23302330

0 commit comments

Comments
 (0)