Skip to content

Legislation Detail: Long Bill Titles Cause Layout Overflow and Push "Add Action" Out of View - #177

Merged
calebyhan merged 1 commit into
mainfrom
164/legislation-title-overflow
Jul 4, 2026
Merged

Legislation Detail: Long Bill Titles Cause Layout Overflow and Push "Add Action" Out of View#177
calebyhan merged 1 commit into
mainfrom
164/legislation-title-overflow

Conversation

@calebyhan

Copy link
Copy Markdown
Contributor

The legislation detail admin page renders the full bill number and title concatenated in the page header. When a bill has a long formal title, the heading overflows the layout, pushing content -- including the "Add Action" button -- out of the visible viewport. The legislation list table has the same problem: an unstyled title column can grow wide enough to scroll the Details/Edit/Delete action buttons off-screen.

Changes:

  • Added min-w-0/truncate to the shared AdminPageHeader title so long titles no longer force the header row wider than the viewport
  • Added the full title to the legislation detail page's metadata card so it's still readable in full
  • Added a max-w/truncate cell renderer (with a hover tooltip showing the full text) to the title column in the legislation list table so action buttons stay visible

Closes #164

Truncates the AdminPageHeader title and the legislation table's title
column so long bill titles no longer push action buttons out of view;
the full title remains visible via the detail page metadata card and
a hover tooltip on the table cell. (#164)
@github-actions

Copy link
Copy Markdown

Test Results

570 tests  ±0   570 ✅ ±0   38s ⏱️ -10s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 849e71f. ± Comparison against base commit bc11881.

@MasonMines2006 MasonMines2006 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@calebyhan
calebyhan merged commit dc4e95c into main Jul 4, 2026
3 checks passed
@calebyhan
calebyhan deleted the 164/legislation-title-overflow branch July 4, 2026 15:22
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.

Legislation Detail: Long Bill Titles Cause Layout Overflow and Push "Add Action" Out of View

2 participants