There are four issues with the current references drawer:
- the references icon is rendering at 13px due to a font-size: 0.75em; applying to the mw-ui-icon element - that font-size should apply to the span containing the text CITATION
- the mw-ui-icon-small doesn't seem compatible with the mw-ui-icon-before selector and the icon renders at 20x20 not 16x16
- the references icon and the word citation are not vertically centered to each other
- the X icon is outside of the bounds of the containing element
Developer notes
- Move the font-size styling to the span element containing Citation text
- Explore issue with mw-ui-icon-small combined with mw-ui-icon-before
- Make use of mw-ui-icon-flush-top where necessary
QA steps
- The icon should render at 16x16.
- The text should vertically align
QA Results
AC | Status | Details |
---|---|---|
1 | ✅ | T233152#5576136 |
2 | ✅ | T233152#5576136 |