[WV-4242] Candidate scrolling rework: 4-column layout with opinions, dynamic widths#4766
Merged
DaleMcGrew merged 2 commits intowevote:developfrom Apr 8, 2026
Merged
Conversation
…fied modal, cleaner layout - Replaced MeasureDescriptionModal and MeasureYesNoModal with unified MeasureInfoModal - Added compact mode to PositionForBallotItem and PositionList for inline opinion previews on measure cards - MeasureOpinionsColumn now shows support/oppose endorsement summaries with compact position list - VoterPositionEntryAndDisplay refactored to support both measure and politician contexts - ItemActionBar updated for measure-specific vote yes/no actions - Only show "more" link on measure text when actually truncated - ModalDisplayTemplateA2 minor layout adjustments - BallotDecisionsTabs updated for measure filtering - Ballot.jsx minor cleanup
…dynamic widths - Reworked BallotScrollingContainer from vertical to horizontal 4-column layout (issues, support, oppose, opinions) matching measure pattern - Created CandidateOpinionsColumn with VoterPositionEntryAndDisplay + PositionList in compact mode, mirroring MeasureOpinionsColumn - Dynamic column widths: issues fixed at 240px, opinions at 327px, support/oppose split remaining space. Columns conditionally rendered based on position data - Candidate name + photo + heart toggle in top row above scrollable columns - ItemActionBar below scrollable area at full width - CSS-only hover on CandidateCardWrapper (transparent inner container) - Measure layout: hover now covers action bar, removed white border, URL word-break - IssuesByBallotItemDisplayList: "show more" renamed to "See more" with blue link style - PositionList: compact mode removes left/right margins, See more aligned at 57px - ItemActionBar dividers: align-self stretch instead of fixed 32px height - MeasureInfoModal: long URLs wrap with word-break - MeasureItemCompressed: "more" link always visible, on new line if not truncated
Member
|
👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(issues, support, oppose, opinions) matching measure pattern
in compact mode, mirroring MeasureOpinionsColumn
split remaining space. Columns conditionally rendered based on position data