Skip to content

Commit 145e51d

Browse files
MCG357Felicious
andcommitted
[IMP] Contributing: list table customization parameters
closes #17261 X-original-commit: 1650bbb Signed-off-by: Felicia Kuan (feku) <feku@odoo.com> Co-authored-by: Felicia Kuan <feku@odoo.com>
1 parent 31d3695 commit 145e51d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

content/contributing/documentation/rst_guidelines.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,17 @@ the rows and the second level represents the columns.
883883
- France
884884
- Turquoise
885885

886+
.. tip::
887+
Use specific parameters to adjust the appearance and layout of list tables:
888+
889+
- `:class: table-striped`: Apply alternating row colors.
890+
- `:class: table-sticky-header`: Keep the header row fixed while scrolling.
891+
- ``:widths:``: Define column proportions. Avoid using `auto`. For example: ``:widths: 25 25 50``.
892+
893+
.. seealso::
894+
`Docutils documentation on reStructuredText tables
895+
<https://docutils.sourceforge.io/docs/ref/rst/directives.html#tables>`_
896+
886897
Grid tables
887898
-----------
888899

0 commit comments

Comments
 (0)