From bc3f4cc797a4fe6de31bc183a01751f7fb501b1e Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Wed, 24 Jul 2024 13:11:15 +0200 Subject: [PATCH] Remove borders on clicked row --- sphinx_audeering_theme/static/css/audeering.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sphinx_audeering_theme/static/css/audeering.css b/sphinx_audeering_theme/static/css/audeering.css index 358aa37..92a906b 100644 --- a/sphinx_audeering_theme/static/css/audeering.css +++ b/sphinx_audeering_theme/static/css/audeering.css @@ -371,6 +371,11 @@ table.preview th p { border-left: none; border-bottom: none; } +table.clickable tr.clicked td:not(.expanded-row-content):not(:first-child) { + /* Remove left border on clicked row when preview is shown, + * without changing position of the text */ + border-left: 1px solid transparent; +} /***** FIGURE AND TABLE CAPTIONS *****************************************/ .wy-table caption, .rst-content table.docutils caption,