Skip to content

Directory State page: scroll the incidents table inside its box on narrow screens - #89

Merged
yesnet0 merged 1 commit into
mainfrom
fix/directory-state-table-overflow
Dec 1, 2026
Merged

yesnet0 merged 1 commit into
mainfrom
fix/directory-state-table-overflow

Conversation

@yesnet0

@yesnet0 yesnet0 commented Dec 1, 2026

Copy link
Copy Markdown
Member

On directory.disclose.io/state the incidents table needs about 1,080 px, so below that the whole page scrolled sideways (677 px at a 390 px phone width, 59 px at 1,024). This adds one rule in assets/css/main.css: below 1,100 px, main .threats-table-wrap scrolls horizontally instead. The class appears only on that page.

Measured with this stylesheet on the real page: sideways overflow 0 at 390, 767, 1,024 and 1,080 px (was 677, 308, 59 and 3); 1,100 and 1,440 unchanged at 0. Every element compared on the index, page 2, an organisation page and State: no differences. The rest of the built stylesheet is byte-identical.

Not covered: at 320 px a row of ecosystem cards elsewhere on the page still sticks out by 10 px; that is a separate element.

…rrow screens

The table from the directory's own markup needs about 1,080 px, so on phones and
small laptops the whole State page scrolled sideways (677 px at a 390 px phone width).
Below 1,100 px its wrapper now scrolls instead. Wider screens are unchanged.
@yesnet0
yesnet0 merged commit bb1c8b2 into main Dec 1, 2026
2 checks passed
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