chiark / gitweb /
css: document that a <table> can be .m-fullwidth.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 29 Dec 2022 15:50:27 +0000 (16:50 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 29 Dec 2022 15:50:27 +0000 (16:50 +0100)
I kinda forgot all the particulars since I made this five years ago, so
better document everything for my old soul.

doc/css/components.rst

index 4e5790c1430ab40dc30517bb4bce20a04f19ad6d..7d7be75d5580bcc9f0edd0472f5996671136ba86 100644 (file)
@@ -519,11 +519,13 @@ bold, all :html:`<th>` and :html:`<td>` are aligned to left while table
           </tfoot>
         </table>
 
-Rows are highlighted on hover, if you want to disable that, put :css:`.m-flat`
-CSS class on the :html:`<table>` element. You can also put :css:`.m-thin` onto
-:html:`<th>` elements to remove the bold styling. Similarly to other
-components, you can color particular :html:`<tr>` or :html:`<td>` elements
-using the color classes from above:
+Use the :css:`.m-fullwidth` CSS class on the :html:`<table>` element to make
+the table span the full width instead of being centered. Rows are highlighted
+on hover, if you want to disable that, put :css:`.m-flat` on the
+:html:`<table>` element. You can also  put :css:`.m-thin` onto :html:`<th>`
+elements to remove the bold styling. Similarly to other components, you can
+color particular :html:`<tr>` or :html:`<td>` elements using the color classes
+from above:
 
 .. raw:: html