forked from OSchip/llvm-project
[docs] Fix formatting of characters so that tables line up properly. Add
padding around table cells so the borders of adjacent tables don't run into each other (now that they're perfectly aligned). llvm-svn: 281436
This commit is contained in:
parent
a00b243c75
commit
14568ff2ad
|
@ -14,10 +14,11 @@
|
|||
}
|
||||
table.docutils td {
|
||||
border: none;
|
||||
padding: 0;
|
||||
padding: 0 0 0 0.2em;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
font-family: monospace;
|
||||
}
|
||||
table.docutils tr + tr {
|
||||
border-top: 0.2em solid #aaa;
|
||||
|
@ -43,7 +44,8 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
.. FIXME: Format this as .diagtext. rST appears to not support this. :(
|
||||
.. FIXME: rST doesn't support formatting this, so we format all <td> elements
|
||||
as monospace font face instead.
|
||||
.. |nbsp| unicode:: 0xA0
|
||||
:trim:
|
||||
|
||||
|
|
|
@ -24,10 +24,11 @@ def GlobalDocumentation {
|
|||
}
|
||||
table.docutils td {
|
||||
border: none;
|
||||
padding: 0;
|
||||
padding: 0 0 0 0.2em;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
font-family: monospace;
|
||||
}
|
||||
table.docutils tr + tr {
|
||||
border-top: 0.2em solid #aaa;
|
||||
|
@ -53,7 +54,8 @@ def GlobalDocumentation {
|
|||
}
|
||||
</style>
|
||||
|
||||
.. FIXME: Format this as .diagtext. rST appears to not support this. :(
|
||||
.. FIXME: rST doesn't support formatting this, so we format all <td> elements
|
||||
as monospace font face instead.
|
||||
.. |nbsp| unicode:: 0xA0
|
||||
:trim:
|
||||
|
||||
|
|
Loading…
Reference in New Issue