Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a shadow below the sticky bar at the top of the directory #1968

Open
michellengaiCDS opened this issue Mar 7, 2019 · 1 comment
Open

Comments

@michellengaiCDS
Copy link

There should be a slight shadow below the top sticky bar: https://zpl.io/2yznvep

@SupeDeDupe
Copy link
Contributor

SupeDeDupe commented Apr 23, 2019

Because of how the sticky header is inside the paper element, the header does not span across the entire horizontal of the paper component. To add the shadow style to the bottom of the sticky header, the component will have to be moved such that it spans the entire horizontal of the paper component. Some form of event listener or code/css with similar functionality will also have to be implemented so the shadow only appears during the scroll, and not when the element is fixed between the "Find benefits and services" header and the quick links box.

For applying the shadow on the bottom, but this leaves the event listener problem open:
https://stackoverflow.com/questions/3971880/how-to-make-shadow-on-border-bottom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants