Skip to content

incorrect font size on job location

As of this issue being posted:

On the current www for EMBL jobs the location is set at 16px because it span inside the vf-summary__meta.

The update on wwwdev changes this and wraps the location in a p tag. Because somewhere further up the DOM tree there is the vf-content class -- the location like - "EMBL Heidelberg" or "EMBL-EBI Hinxton" inherit the CSS for a p tag without a class inside of vf-content.

Here's the before and after screenshots and HTML

Before:

<p class="vf-summary__meta"> Staff Member in <span class="jplist-duty-station">EMBL-EBI Hinxton</span></p>

Screenshot_2021-05-14_at_11.43.16

After:

<p class="vf-summary__meta">Staff Member in <span class="jplist-duty-station"><p>EMBL-EBI Hinxton</p></span></p>

Screenshot_2021-05-14_at_11.45.01