mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
parent
4aa2ac1b52
commit
9b740df277
10
static/third/bootstrap/css/bootstrap.css
vendored
10
static/third/bootstrap/css/bootstrap.css
vendored
@ -2008,6 +2008,16 @@ table {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.table .json-api-example {
|
||||
width: fit-content;
|
||||
max-width: 300px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.table .json-api-example code {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.table caption + thead tr:first-child th,
|
||||
.table caption + thead tr:first-child td,
|
||||
.table colgroup + thead tr:first-child th,
|
||||
|
||||
@ -105,7 +105,7 @@ class APIArgumentsTablePreprocessor(Preprocessor):
|
||||
tr = """
|
||||
<tr>
|
||||
<td><code>{argument}</code></td>
|
||||
<td><code>{example}</code></td>
|
||||
<td class="json-api-example"><code>{example}</code></td>
|
||||
<td>{required}</td>
|
||||
<td>{description}</td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user