
Prior to this commit, the /legal.html page relied on RST substitutions to insert the images directives of legal agreements within the table. This caused Sphinx to omit the `image-reference` class on all `<a>` elements surrounding an `<img>` element, which it normally adds when the `target` option is specified on an `image` directive. As the theme relies on that class to hide the "external link" icon added with commit343decf1
, the layout of the page was broken. While replacing the substitutions with the plain `image` directive, the grid table is converted to a list table to avoid the hassle of expanding table cells to fit the directives. This will also help in maintaining the content of the table when we will add new translations for the legal agreements. task-2909167 closes odoo/documentation#2467 X-original-commit:81bf067ba1
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
15 lines
329 B
CSS
15 lines
329 B
CSS
|
|
section#terms-and-conditions table td {
|
|
/* make sure icons and links aren't wrapped */
|
|
white-space: nowrap;
|
|
}
|
|
|
|
section#terms-and-conditions table img.img-fluid {
|
|
margin: 0px;
|
|
}
|
|
|
|
section#terms-and-conditions table td:nth-child(2),
|
|
section#terms-and-conditions table th:nth-child(2) {
|
|
background-color: #f3f3f3;
|
|
}
|