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

Fix user profile actions hamburger icon removed on transp background #15620

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

trevorbayless
Copy link
Member

When using a transparent background the user profile actions hamburger icon disappears when hovered. This is due to %dropdown-shadow including the back-blur mixin if the background is transparent, which resets the ::before content.

Issue:
Screenshot_20240628_091536

To keep the shadow (and icon), it seemed like the most straight-forward approach was to just include box-shadow directly instead of extending from dropdown-shadow.

background: $c-bg-header-dropdown;
color: $c-font-clear;
box-shadow: -1px 5px 6px rgba(0, 0, 0, 0.3);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a solution for the transparent theme, but what does it look like in light theme?

Copy link
Member Author

@trevorbayless trevorbayless Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks the same as it did before, it's the same box-shadow that dropdown-shadow was supplying.

image

image

image

@ornicar ornicar merged commit 08bc635 into lichess-org:master Jun 29, 2024
3 checks passed
@trevorbayless trevorbayless deleted the transp_user_actions branch July 2, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants