Skip to content

Commit cbd8251

Browse files
committed
docs: add custom CSS for max-width on grid layout in attributes template to make table wider
1 parent 77e8d22 commit cbd8251

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

custom_templates/python/material/docstring/attributes.html.jinja

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ Context:
1515
{{ log.debug("Rendering attributes section") }}
1616
{% endblock logs %}
1717

18+
<style>
19+
.md-grid {
20+
max-width: 1920px !important;
21+
}
22+
</style>
23+
1824
{% import "language"|get_template as lang with context %}
1925
{#- Language module providing the `t` translation method. -#}
2026

0 commit comments

Comments
 (0)