Merge pull request #2677 from banders/param-descriptions-cutoff
Prevent long words in parameter descriptions from stretching table
This commit is contained in:
@@ -44,6 +44,26 @@
|
|||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
|
.param-name-col {
|
||||||
|
width: 100px;
|
||||||
|
max-width: 100px;
|
||||||
|
}
|
||||||
|
.param-value-col {
|
||||||
|
width: 310px;
|
||||||
|
max-width: 310px;
|
||||||
|
}
|
||||||
|
.param-description-col {
|
||||||
|
width: 200px;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
.param-type-col {
|
||||||
|
width: 100px;
|
||||||
|
max-width: 100px;
|
||||||
|
}
|
||||||
|
.param-data-type-col {
|
||||||
|
width: 220px;
|
||||||
|
max-width: 230px;
|
||||||
|
}
|
||||||
thead {
|
thead {
|
||||||
tr {
|
tr {
|
||||||
th {
|
th {
|
||||||
|
|||||||
@@ -72,11 +72,11 @@
|
|||||||
<table class='fullwidth parameters'>
|
<table class='fullwidth parameters'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 100px; max-width: 100px" data-sw-translate>Parameter</th>
|
<th class="param-name-col" data-sw-translate>Parameter</th>
|
||||||
<th style="width: 310px; max-width: 310px" data-sw-translate>Value</th>
|
<th class="param-value-col" data-sw-translate>Value</th>
|
||||||
<th style="width: 200px; max-width: 200px" data-sw-translate>Description</th>
|
<th class="param-description-col" data-sw-translate>Description</th>
|
||||||
<th style="width: 100px; max-width: 100px" data-sw-translate>Parameter Type</th>
|
<th class="param-type-col" data-sw-translate>Parameter Type</th>
|
||||||
<th style="width: 220px; max-width: 230px" data-sw-translate>Data Type</th>
|
<th class="param-data-type-col" data-sw-translate>Data Type</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="operation-params">
|
<tbody class="operation-params">
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="markdown">{{{sanitize description}}}</td>
|
<td class="markdown param-description-col">{{{sanitize description}}}</td>
|
||||||
<td>{{{escape paramType}}}</td>
|
<td>{{{escape paramType}}}</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="model-signature"></span>
|
<span class="model-signature"></span>
|
||||||
|
|||||||
@@ -14,6 +14,6 @@
|
|||||||
|
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td class="markdown">{{#if required}}<strong>{{/if}}{{{description}}}{{#if required}}</strong>{{/if}}</td>
|
<td class="markdown param-description-col">{{#if required}}<strong>{{/if}}{{{description}}}{{#if required}}</strong>{{/if}}</td>
|
||||||
<td>{{{escape paramType}}}</td>
|
<td>{{{escape paramType}}}</td>
|
||||||
<td><span class="model-signature"></span></td>
|
<td><span class="model-signature"></span></td>
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class="markdown">{{{sanitize description}}}</td>
|
<td class="markdown param-description-col">{{{sanitize description}}}</td>
|
||||||
<td>{{{escape paramType}}}</td>
|
<td>{{{escape paramType}}}</td>
|
||||||
<td><span class="model-signature"></span></td>
|
<td><span class="model-signature"></span></td>
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class="markdown">{{{sanitize description}}}</td>
|
<td class="markdown param-description-col">{{{sanitize description}}}</td>
|
||||||
<td>{{{escape paramType}}}</td>
|
<td>{{{escape paramType}}}</td>
|
||||||
<td><span class="model-signature"></span></td>
|
<td><span class="model-signature"></span></td>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<strong><span class="markdown">{{{sanitize description}}}</span></strong>
|
<strong><span class="markdown param-description-col">{{{sanitize description}}}</span></strong>
|
||||||
</td>
|
</td>
|
||||||
<td>{{{escape paramType}}}</td>
|
<td>{{{escape paramType}}}</td>
|
||||||
<td><span class="model-signature"></span></td>
|
<td><span class="model-signature"></span></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user