Remove units from zero valued size in CSS, fix a typo.

PiperOrigin-RevId: 716345043
Change-Id: I22b28e8e1d6db8ae4e482541169f1ffc46d3db34
This commit is contained in:
Yuval Tassa
2025-01-16 12:54:26 -08:00
committed by Copybara-Service
parent 9fc1ac2c7d
commit 71e5e376bc
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -72,7 +72,7 @@ h4 {
/* Paragraph margins don't apply to table cell contents. */
.rst-content table.docutils td>p {
margin-top: 0px;
margin-top: 0;
}
/* Set padding of in-line highlighted text. */
@@ -200,8 +200,8 @@ table.docutils:not(.mjcf-attributes) > tbody > tr.row-odd {
/* MJCF attributes table. */
table.mjcf-attributes {
border-style: none;
margin-left: 0px;
margin-right: 0px;
margin-left: 0;
margin-right: 0;
width: 100%;
box-shadow: none;
}
@@ -209,7 +209,7 @@ table.mjcf-attributes {
table.mjcf-attributes tbody tr td,
table.mjcf-attributes tbody tr:nth-child(2n-1) td {
border-style: none;
padding: 0px 0px 0px 0px;
padding: 0 0 0 0;
width: 25%;
}
@@ -217,13 +217,13 @@ table.mjcf-attributes tbody tr td p {
margin: 0;
}
div.table-wrapper.mjcf-attributes {
.table-wrapper.mjcf-attributes {
margin: 0.5em;
padding: 0;
}
table td > div.wy-table-responsive {
margin-bottom: 0px;
margin-bottom: 0;
}
/* Remove vertical spacing before/after code blocks. */
+1 -1
View File
@@ -98,7 +98,7 @@ def read(lines: List[str]) -> Dict[str, ApiDefinition]:
if section is not None:
if 'MJAPI FUNCTIONS' in section:
# Stripped functions do not begin with MJAPI, and must be under the
# predefiend section 'MJAPI FUNCTIONS'. This is because the docs don't
# predefined section 'MJAPI FUNCTIONS'. This is because the docs don't
# include this prefix, and so we need to read such functions from the
# reference header.
stripped_functions = True