TheDJ has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/370945 )

Change subject: mw-collapsible: Add print styles to uncollapse content
......................................................................

mw-collapsible: Add print styles to uncollapse content

Bug: T152330
Change-Id: I74ee6ad9f426f2fccd84b9190bc1afe0be4cc06d
---
M resources/src/jquery/jquery.makeCollapsible.css
1 file changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/45/370945/1

diff --git a/resources/src/jquery/jquery.makeCollapsible.css 
b/resources/src/jquery/jquery.makeCollapsible.css
index 2e5efba..a72b5a3 100644
--- a/resources/src/jquery/jquery.makeCollapsible.css
+++ b/resources/src/jquery/jquery.makeCollapsible.css
@@ -45,3 +45,19 @@
 .mw-collapsible-toggle-li {
        list-style: none;
 }
+
+@media print {
+       .mw-collapsible-toggle {
+               display: none;
+       }
+       .mw-collapsed .mw-collapsible-content {
+               display: block !important;
+       }
+       .mw-collapsed > * > tr {
+               display: table-row !important;
+       }
+       .mw-collapsed > li,
+       .mw-collapsed > li {
+               display: list-item !important;
+       }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/370945
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74ee6ad9f426f2fccd84b9190bc1afe0be4cc06d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: TheDJ <hartman.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to