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

Change subject: Fix incorrect indentation of TOC on print preview
......................................................................

Fix incorrect indentation of TOC on print preview

Also add the white space that was taken by hiding
.tocnubmer to .toctext

Bug: T179363
Change-Id: I06c502f3d4bee687ed7f300246687aff978ed1d6
---
M print.less
1 file changed, 5 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector 
refs/changes/32/396932/1

diff --git a/print.less b/print.less
index 543598c..a364af7 100644
--- a/print.less
+++ b/print.less
@@ -186,9 +186,6 @@
                                li {
                                        padding-left: 30px;
                                }
-                               .tocnumber {
-                                       min-width: 30px;
-                               }
                        }
                }
 
@@ -200,10 +197,11 @@
                }
 
                .tocnumber {
-                       padding-right: 0;
-                       text-align: right;
-                       margin-right: 30px;
-                       display: inline-block;
+                       display: none;
+               }
+
+               .toctext {
+                       padding-left: 45px;
                }
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I06c502f3d4bee687ed7f300246687aff978ed1d6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Albert221 <w.albert...@gmail.com>

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

Reply via email to