Skip to content

Improve searchbox outline when focusing#524

Open
joknoll wants to merge 1 commit intoredlib-org:mainfrom
joknoll:main
Open

Improve searchbox outline when focusing#524
joknoll wants to merge 1 commit intoredlib-org:mainfrom
joknoll:main

Conversation

@joknoll
Copy link
Copy Markdown

@joknoll joknoll commented Dec 29, 2025

When focusing the searchbox, the entire search form should get an outline instead of just the search input field.

This was done with the :focus-within selector for the form, which should be available to all modern broswers https://caniuse.com/css-focus-within

This is how it looked previously:
image

With this commit:
image

When focusing the searchbar, the entire search form should get an outline instead of just the search input field.

This was done with the `:focus-within` selector for the form, which should be available to all modern broswers https://caniuse.com/css-focus-within
espacedev3019 added a commit to espacedev3019/redlib that referenced this pull request Jan 17, 2026
@dave0003
Copy link
Copy Markdown

dave0003 commented Apr 5, 2026

Good improvement! Compiled and tested. Looks good to me.

mitchross added a commit to mitchross/redlib that referenced this pull request Apr 9, 2026
…bile fixes

Phase 1 — Cherry-picked upstream improvements:
- Add 4 catppuccin themes (Latte, Frappe, Macchiato, Mocha) from PR redlib-org#538
- Search box focus outline with :focus-within (PR redlib-org#524)
- Mobile touch target improvement for comment_data (PR redlib-org#520)
- iOS playsinline attribute on all video elements
- Remove zero-width space paragraphs in markdown (PR redlib-org#413)
- Fix .md element margins with consistent spacing model

Phase 2 — Performance & caching:
- Enable Cache-Control headers on all static JS files (were uncached)
- Add Cache-Control to PWA logo and Apple touch icon responses
- Add font preloading via <link rel="preload"> in base template
- Add decoding="async" to post images, gallery images, and thumbnails

Phase 3 — Desktop polish:
- Consistent markdown heading margins
- Remove redundant pre/code margins in .md and .post_body
- Search focus state visibility improvement

Phase 4 — Mobile hardening:
- Prevent horizontal scroll with overflow-x: hidden on body
- Better comment tap targets with adjusted margin/padding

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

2 participants