8000 fix(reader): leave a gap above a card reached with w or b (#587) by hanthor · Pull Request #588 · hyprlab/hylki · GitHub
[go: up one dir, main page]

Skip to content

fix(reader): leave a gap above a card reached with w or b (#587) - #588

Closed
hanthor wants to merge 1 commit into
hyprlab:mainfrom
tuna-os:fix/step-card-margin
Closed

hanthor wants to merge 1 commit into
hyprlab:mainfrom
tuna-os:fix/step-card-margin

Conversation

@hanthor
@hanthor hanthor commented Nov 5, 2026
Copy link
Copy Markdown
Contributor

Fixes #587.

on_step_card scrolled the target card with scrollIntoView({block:'start'}) and no margin, so w/b stopped it flush under the bar above, hiding its top border and selection outline. It now sets the same scrollMarginTop = '14px' that on_focus_card already uses before scrolling.

Checked: the generated script parses, and the message_view tests pass.

Stepping between cards scrolled the target flush under the bar above, hiding its top border and selection outline. It now uses the same 14px scroll margin as focusing a card for a reply.
@hyprlab
hyprlab commented Nov 5, 2026
Copy link
Copy Markdown
Owner

Thanks for this, PR will be merged in today's beta build :)

@hyprlab
hyprlab commented Nov 5, 2026
Copy link
Copy Markdown
Owner

Agentic reply:

The beta build is in the repo now. If you already have the beta installed, flatpak update picks it up. If not, download and install it first:

flatpak install --user --from https://hylki.hyprlab.co/flatpak/co.hyprlab.Hylki.Beta.flatpakref

RPM, Debian and AppImage betas: Beta channel.

@hyprlab hyprlab closed this Nov 5, 2026
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.

Reader: w/b leaves the selected conversation message under the header bar

2 participants

0