[LTP] [PATCH v5 1/2] doc: remove margin for multiline cells

Andrea Cervesato andrea.cervesato@suse.de
Thu Feb 6 11:16:33 CET 2025


From: Andrea Cervesato <andrea.cervesato@suse.com>

Multiline table's cells show a margin at the end of them. Remove the
margin by setting 'margin-bottom: 0' in the CSS table declaration
style.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
 doc/_static/custom.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/_static/custom.css b/doc/_static/custom.css
index cb4d3821dc65f9f904cd90951f968bc90d8798c1..c5816a55346fa28416377375bc91966780075dc3 100644
--- a/doc/_static/custom.css
+++ b/doc/_static/custom.css
@@ -2,3 +2,8 @@
 .wy-table-responsive table td {
     white-space: normal;
 }
+
+/* remove margin for multiline cells */
+.rst-content table td div.line-block {
+    margin-bottom: 0;
+}

-- 
2.43.0



More information about the ltp mailing list