From 55a14d8ea7e8d33865b84f73cf2f59f4c9ad5195 Mon Sep 17 00:00:00 2001 From: Vadim Kovalenko Date: Wed, 25 Oct 2023 15:54:55 +0300 Subject: [PATCH] Unfold collapsible tables for Desktop and Mobile renders --- res/content.parsoid.css | 5 +++++ res/wm_mobile_override_style.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/res/content.parsoid.css b/res/content.parsoid.css index cc2914bcc..4af446ddd 100644 --- a/res/content.parsoid.css +++ b/res/content.parsoid.css @@ -194,3 +194,8 @@ figure[typeof~='mw:Video']>figcaption, figure[typeof~='mw:Audio']>figcaption { display: none; } + +/* Unfold collapsible tables */ +.client-js .collapsible:not(.mw-made-collapsible).collapsed > tbody > tr:not(:first-child) { + display: block !important; +} diff --git a/res/wm_mobile_override_style.css b/res/wm_mobile_override_style.css index ab31918bf..595a4797e 100644 --- a/res/wm_mobile_override_style.css +++ b/res/wm_mobile_override_style.css @@ -18,3 +18,8 @@ span.noviewer { width: auto !important; max-width: 100% !important; } + +/* Unfold collapsible tables */ +.client-js .collapsible:not(.mw-made-collapsible).collapsed > tbody > tr:not(:first-child) { + display: block !important; +}