Skip to content

feat(polls): keep results header and participant column visible on scroll - #22

Open
Al2Klimov wants to merge 1 commit into
NETWAYS:mainfrom
Al2Klimov:feat/sticky-results-table
Open

Al2Klimov wants to merge 1 commit into
NETWAYS:mainfrom
Al2Klimov:feat/sticky-results-table

Conversation

@Al2Klimov

Copy link
Copy Markdown
Member

With many options or participants, scrolling the results table left a grid of status dots without the dates or names they belong to.

Wrap the table in a scroll container capped at 70vh so both axes scroll inside it, pin the thead (option and totals rows) to the top and the participant cells to the left. Sticky cells get opaque backgrounds so scrolled content does not show through, and the row hover tint is mirrored onto the pinned cell via group-hover.

Regenerate app.css for the new utility classes.

…roll

With many options or participants, scrolling the results table left a
grid of status dots without the dates or names they belong to.

Wrap the table in a scroll container capped at `70vh` so both axes
scroll inside it, pin the `thead` (option and totals rows) to the top
and the participant cells to the left. Sticky cells get opaque
backgrounds so scrolled content does not show through, and the row
hover tint is mirrored onto the pinned cell via `group-hover`.

Regenerate `app.css` for the new utility classes.

Co-Authored-By: Claude Opus 5.5 (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.

1 participant