jwplayer / ott-web-app

Reference implementation for JWP-powered apps
Apache License 2.0
69 stars 53 forks source link

Fix / Reintroduce profile menu styling #527

Closed langemike closed 1 month ago

langemike commented 1 month ago

A styling bug has been introduced in the profile menu during the header refactor https://github.com/jwplayer/ott-web-app/pull/501

The style references were unused in ProfileMenu. I moved the styling definitions one parent up, so the style references work. But I also need to re-use these (on the new location) for the UserMenuNav. This will make both these components similar in styling behavior.

I also deleted UserMenuNav.module.scss because the only remaining selector was .button, but that definition is unused.

Situation before fix: Screenshot 2024-04-30 102125

Original PR in our repo: https://github.com/Videodock/ott-web-app/pull/194