mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 14:09:22 +00:00
docs: use div, not table, for notices on opaque types
It's simpler to render and it prevents wrapping the line too early because of the table spacing, border et cetera.
This commit is contained in:
parent
7d3cef8a5c
commit
52b1fd2582
@ -447,6 +447,7 @@ table.data tbody td.n {
|
|||||||
letter-spacing: .3ex;
|
letter-spacing: .3ex;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
margin-left: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.api .directive {
|
.api .directive {
|
||||||
|
@ -213,6 +213,7 @@
|
|||||||
<xsl:text> {
|
<xsl:text> {
|
||||||
</xsl:text>
|
</xsl:text>
|
||||||
</pre>
|
</pre>
|
||||||
|
<xsl:if test="field">
|
||||||
<table>
|
<table>
|
||||||
<xsl:for-each select="field">
|
<xsl:for-each select="field">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
@ -279,14 +280,11 @@
|
|||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
<xsl:if test="not(field)">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3">
|
|
||||||
<span class="undisclosed">The content of this structure is not made public by the API</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
</table>
|
</table>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="not(field)">
|
||||||
|
<div class="undisclosed">The content of this structure is not made public by the API</div>
|
||||||
|
</xsl:if>
|
||||||
<pre>
|
<pre>
|
||||||
<xsl:text>
|
<xsl:text>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user