Skip to content

Fix whole sidebar css blur to components - #20979

Open
IsaacMartin22 wants to merge 3 commits into
lichess-org:masterfrom
IsaacMartin22:fix-whole-lobby-sidebar-blurred
Open

Fix whole sidebar css blur to components#20979
IsaacMartin22 wants to merge 3 commits into
lichess-org:masterfrom
IsaacMartin22:fix-whole-lobby-sidebar-blurred

Conversation

@IsaacMartin22

@IsaacMartin22 IsaacMartin22 commented Jul 20, 2026

Copy link
Copy Markdown

Why this change is needed

  • Currently the entire sidebar is blurred even when nothing is there, which detracts from the background image feature
  • This change moves the transparency blur to the components of the sidebar rather than the entire sidebar itself. The components I added to were based on the classes in the div in home.scala
  • The css divs don't seem to be used outside of this lobby sidebar so adding the mixin to the child component css shouldn't affect anything other than the lobby sidebar

Related Issue
Addresses issue 20953

This is my first contribution to Lichess, if I missed anything about the contribution process or got something wrong please let me know

Tested running lila-docker locally, screenshot below
lichess_local_dev

@IsaacMartin22
IsaacMartin22 marked this pull request as ready for review July 20, 2026 07:32
@Mheet

Mheet commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

The .lobby__side wrapper in _lobby.scss still has @include backdrop-blur-if-transparent on it (line 41), so it still blurs unconditionally regardless of content. The screenshot above is a logged-out view, where .about-side always renders with content, so that state can't actually hit the empty-sidebar bug from #20953. The bug reproduces for a logged-in user with no streams, spotlights, classes, or timeline entries. In that case .lobby__side would still show the blur even after this change. Removing the mixin from the wrapper (keeping it only on the child components) would complete the fix.

@IsaacMartin22

Copy link
Copy Markdown
Author

@Mheet You're right, thank you. I removed the mixin from .lobby__side

@superuser-does

superuser-does commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

I agree this is better visually. Here is the current state for comparison:

Screenshot_20260728_095324

PS: it seems Firefox's built-in screenshot tool unblurs the sidebar, so I had to take this screenshot using my OS's screenshot tool (Spectacle). Strange effect.

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.

3 participants