fix: add backdrop blur to sticky header for better readability#673
fix: add backdrop blur to sticky header for better readability#673VedantMadane wants to merge 1 commit intokubernetes:masterfrom
Conversation
This PR adds backdrop-filter: blur(10px) to the sticky navbar when scrolled. This ensures that the header text remains readable when overlapping with page content.
|
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: VedantMadane The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @VedantMadane! |
|
I can't see the difference between the new vs actual version. Could you send some screenshots? |
|
@VedantMadane Hi there! You will need to sign the CLA before any meaningful review can take place on your pull request. Please follow the directions in the following message to do so: #673 (comment) |
|
@TineoC The change is subtle but noticeable when scrolling over content-heavy pages: Before: The sticky navbar uses background-color: rgba(, 0.95) which is a nearly opaque solid color that can still show slight content bleeding through on high-contrast pages. After: The navbar uses background-color: rgba(, 0.9) with backdrop-filter: blur(10px.) This adds a frosted glass effect that makes the background content behind the header soft and blurred, improving text readability while maintaining a modern aesthetic. The slight transparency reduction (0.95 to 0.9) compensates by letting the blur effect be visible. The visual difference is most apparent when scrolling a page with varied content colors behind the header. The blur prevents distracting text/images from showing through. I'll work on getting the CLA signed and can provide screenshots once that's resolved. |
|
Friendly ping — CLA is signed and the change is ready for review. Would appreciate an /lgtm when you get a chance. Thanks! |
|
Please share the screenshot to see the difference of both versions |
|
And this pr doesn't fixes #614 could you please remove that part from your description? |
|
/hold |
|
So, comparing these two I don't understand why the blur is supposed to be better? |
This PR adds backdrop-filter: blur(10px) and adjusts the background opacity of the sticky navbar when scrolled to ensure header text remains readable against underlying content.