[PR #23999] Fix sticky table header transparency with backdrop-filter blur in dark mode #30468

Closed
opened 2026-02-21 20:47:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/23999

State: closed
Merged: Yes


Summary

Fixes #23998

This PR resolves a visual issue where the sticky table header in the datasets hit-testing page uses a transparent background in dark mode, causing scrolling content to show through the header and creating poor readability.

Changes:

  • Restored --color-background-section-burn in dark mode to rgb(24 24 27 / 0.6) (semi-transparent)
  • Added backdrop-filter: blur(5px) to the sticky table header for proper glass morphism effect
  • This approach maintains the modern UI design while preventing content bleeding through

The fix uses the standard pattern found throughout the codebase where backdrop-blur-[5px] is combined with semi-transparent backgrounds to create proper glass morphism effects, rather than resorting to opaque backgrounds.

Screenshots

Before After
image image

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/23999 **State:** closed **Merged:** Yes --- ## Summary Fixes #23998 This PR resolves a visual issue where the sticky table header in the datasets hit-testing page uses a transparent background in dark mode, causing scrolling content to show through the header and creating poor readability. **Changes:** - Restored `--color-background-section-burn` in dark mode to `rgb(24 24 27 / 0.6)` (semi-transparent) - Added `backdrop-filter: blur(5px)` to the sticky table header for proper glass morphism effect - This approach maintains the modern UI design while preventing content bleeding through The fix uses the standard pattern found throughout the codebase where `backdrop-blur-[5px]` is combined with semi-transparent backgrounds to create proper glass morphism effects, rather than resorting to opaque backgrounds. ## Screenshots | Before | After | |--------|-------| | <img width="198" height="79" alt="image" src="https://github.com/user-attachments/assets/b2522d0e-0d47-498c-b330-7b3591948813" /> | <img width="245" height="84" alt="image" src="https://github.com/user-attachments/assets/c3cb3b05-9e46-451f-b73a-2c4d1b108394" /> | ## Checklist - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:47:33 -05:00
yindo closed this issue 2026-02-21 20:47:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30468