TheDJ has uploaded a new change for review. https://gerrit.wikimedia.org/r/290005
Change subject: Fix a case of invalid element nesting ...................................................................... Fix a case of invalid element nesting Bug: T130431 Change-Id: I926ed3a523601fea6ac2ca9b7b9d460ae313ad7d --- M dev/wikipedia.org/assets/postcss/_wm-portal.css M dev/wikipedia.org/templates/top-n-articles.li.multi.handlebars 2 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/portals refs/changes/05/290005/1 diff --git a/dev/wikipedia.org/assets/postcss/_wm-portal.css b/dev/wikipedia.org/assets/postcss/_wm-portal.css index b2d5f1c..b677428 100644 --- a/dev/wikipedia.org/assets/postcss/_wm-portal.css +++ b/dev/wikipedia.org/assets/postcss/_wm-portal.css @@ -239,10 +239,10 @@ content: none; } /* Add parentheses around nested lists */ -.hlist li + ul:before { +.hlist li > ul:before { content: "\00a0("; } -.hlist li + ul:after { +.hlist li > ul:after { content: ") "; } @@ -455,4 +455,4 @@ padding: 1px 2px; font-size: 11px; vertical-align: top; -} \ No newline at end of file +} diff --git a/dev/wikipedia.org/templates/top-n-articles.li.multi.handlebars b/dev/wikipedia.org/templates/top-n-articles.li.multi.handlebars index a532a46..8dee6f1 100644 --- a/dev/wikipedia.org/templates/top-n-articles.li.multi.handlebars +++ b/dev/wikipedia.org/templates/top-n-articles.li.multi.handlebars @@ -1,2 +1,2 @@ -<li lang="{{parentCode}}">{{{name}}}</li><ul>{{#each sublinks}}{{> top-n-articles.li.simple}}{{/each}}</ul> +<li lang="{{parentCode}}">{{{name}}}<ul>{{#each sublinks}}{{> top-n-articles.li.simple}}{{/each}}</ul></li> -- To view, visit https://gerrit.wikimedia.org/r/290005 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I926ed3a523601fea6ac2ca9b7b9d460ae313ad7d Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/portals 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