Closed rebecca-shoptaw closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.30%. Comparing base (
2d19d55
) to head (ad1b546
). Report is 7 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Problem
Currently, the "Add bookmark" button in the side panel is defaulting to Arial for its font, when it should use the same Helvetica Neue font stack as the other buttons.
It seems that this is because other buttons such as the "Login" button are actually
a
elements styled as buttons, so they correctly inherit the body font-stack:Whereas the default
button
styles for the "Add bookmark" button seem to be overriding the inheritance and defaulting to Arial:Solution
Very simple! I just added
font-family: inherit
to theia-button
class, which should ensure this and any otherbutton.ia-button
elements in the side panel retain the correct inherited font:Testing
Option 1 - demo from PR
Option 2 - dev tools in prod context Since this is a one-line fix, it can also easily be tested via the dev tools in the production site:
ia-button
class and add the linefont-family: inherit