Currently if someone copies both service-header.js and init-service-header.js from us instead of writing their own JS to conditionally initialise the header in their code, and includes both on every page of their site (including pages which do not contain the OL header), there is a JS error on pages where the header is not present.
This fixes that issue.
Tweak the CSS so that the service name is better spaced in the OL header in the mobile variation in the absence of a service navigational menu.
When there is a service nav menu, it should look exactly the same as before.
When the nav displays with service name only, the visual spacing should now be more balanced than it was before
Before
After
Reminder: focus on src when reviewing as dist is compiled/build files
OLH-1159: Prevent uncaught type error
Currently if someone copies both
service-header.js
andinit-service-header.js
from us instead of writing their own JS to conditionally initialise the header in their code, and includes both on every page of their site (including pages which do not contain the OL header), there is a JS error on pages where the header is not present. This fixes that issue.OLH-1159: slight CSS tweak for service name
Tweak the CSS so that the service name is better spaced in the OL header in the mobile variation in the absence of a service navigational menu. When there is a service nav menu, it should look exactly the same as before. When the nav displays with service name only, the visual spacing should now be more balanced than it was before
Reminder: focus on
src
when reviewing asdist
is compiled/build files