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

Remove the focus outline of the post feed background #83

Merged
merged 1 commit into from Oct 19, 2023

Conversation

sheodox
Copy link
Owner

@sheodox sheodox commented Oct 19, 2023

Initial focus is placed on the post feed on page load for up/down/page up/page down/etc keys to work from the start. This however added an outline on that element as part of default user agent styling in Firefox for focused elements I think, and the way the background of the header looked it meant you'd see a white gradient from the bottom of the header which looked different depending on the computer but was unwanted everywhere.

This just removes that outline.

image

Initial focus is placed on the post feed on page load for up/down/page up/page down/etc keys to work from the start. This however added an outline on that element as part of default user agent styling in Firefox for focused elements I think, and the way the background of the header looked it meant you'd see a white gradient from the bottom of the header which looked different depending on the computer but was unwanted everywhere.

This just removes that outline.
@vercel
Copy link

vercel bot commented Oct 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sx-lemmy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 9:38pm

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b17a229
Status: ✅  Deploy successful!
Preview URL: https://70be9609.alexandrite.pages.dev
Branch Preview URL: https://remove-focus-outline-on-bg-e.alexandrite.pages.dev

View logs

@sheodox sheodox merged commit 6ecf4a6 into main Oct 19, 2023
4 checks passed
@sheodox sheodox deleted the remove-focus-outline-on-bg-elements branch October 19, 2023 21:40
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

1 participant