Sumit added a comment.

In https://phabricator.wikimedia.org/T111201#1597412, @Atsirlin wrote:

> i) multi-line TOC has large spacing between the lines. Compare, for example,
>  https://ru.wikivoyage.org/wiki/Москва (new format)
>  https://ru.wikivoyage.org/wiki/Прага (old format)
>  Is it possible to reduce this line spacing, or, ideally, to have it 
> adjustable?


Yes it is possible to see the old view, just set:
.wpb-banner-toc{

  line-height: 1.0em;

}
in MediaWiki:Common.css

> ii) So far we had a bit of white space between the bottom of the banner and 
> the top of the TOC (see same articles as above). We will discuss whether we 
> prefer to remove this white space now, but this may be another parameter that 
> is worth customizing.


Set
.wpb-topbanner-toc{

  margin-top:5px;

}
in Mediawiki:Common.css
The entire toc is customizable from MedaiWiki:Common.css
I've included the above two examples in 
https://www.mediawiki.org/wiki/Extension:WikidataPageBanner#Styling for future 
reference


TASK DETAIL
  https://phabricator.wikimedia.org/T111201

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sumit
Cc: Sumit, Jdlrobson, Atsirlin, Aklapper, Wikidata-bugs, aude, Lydia_Pintscher, 
Malyacko



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to