Background
The Reader Experience team recently made some change to the page toolbar: showing both the watch and bookmark buttons for users opted into the ReadingLists beta feature, adding a text label to the watch button, and changing the "tools" overflow menu from having a text label to an ellipsis icon. During this work, we made several attempts to vertically center all items in this toolbar across browsers. This is difficult to achieve because of differences in how the styles are interpreted, especially between Chrome and Firefox. We ended up adding at least two 1px margins to try to get the alignment right.
Furthermore, when you hover over the buttons in the page toolbar, you can see that they are not exactly centered - the background color is 1px away from the top and bottom outline of the tabs section:
This spike is to investigate a more stable solution that does not involve applying small margins, to balance the desire for exact vertical centering across browsers with style maintainability and scalability.
User story
As an editor, I don't want to be distracted by vertical centering issues in the page toolbar.
Design requirements
Requirements
Acceptance criteria
- Try to resolve the vertical alignment issues in the page toolbar in a way that works across browsers
- Depending on the outcome, either with a new patch with the proposed solution, or a comment explaining why we won't change things. Note: I've upgraded this to an official task so we can move forward with the solution
This task was created by Version 1.0.0 of the Reader Experience team task template using phabulous.






