RCFilters UI: Unify li bullets with and without highlights
authorMoriel Schottlender <moriel@gmail.com>
Wed, 19 Apr 2017 21:47:43 +0000 (14:47 -0700)
committerMooeypoo <moriel@gmail.com>
Wed, 19 Apr 2017 22:00:36 +0000 (22:00 +0000)
commit3c7fd3e677b64d3f810e9ed664abed95952f0466
treeea1607ea8a2de7627dd45d43a7b77941459b5be9
parent354e20ddbc10312839ce95cd4383127f3e7203b1
RCFilters UI: Unify li bullets with and without highlights

Make sure that the placement of the texts under the bullets is
the same whether the highlight is on or off. Otherwise, the list
is shifting a bit to the right to make room for highlight 'bullets'
when we press the highlight key.

Bonus: Make sure the highlight container is only appended to each
bullet once, even if the process is called for more than once on
the same content.

Bug: T163275
Bug: T163387
Change-Id: I4c2cf6176d5129dd2bc37d2f58ed84e85aca8560
resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js