Skip to content

Long domains in "Top Blocked Domains" break table layout and overflow container #3899

Open

Description

@SebastianGrass

In the Pi-hole web interface, extremely long domains (such as service subdomains with long hash prefixes) do not wrap or truncate properly inside the lists. This causes the text to overflow its container box, pushing other layout elements and columns (like hitting counts or action buttons) off-screen and breaking the overall dashboard statistics view.

Steps to Reproduce

  1. Open the Pi-hole Admin Dashboard (/admin).
  2. Navigate to a section containing tables with domain lists, specifically "Top Blocked Domains" or "Top Clients".
  3. Ensure there are queries containing long automated tracking/service subdomains (e.g., a265712cc...prod.service.minerva.devices.a2qz.com).
  4. Observe the visual layout of the "Domain" column box.

Expected Behavior

Long domain strings should either wrap gracefully using CSS wrap rules, truncate with an ellipsis (...), or use a scrollable horizontal overflow inside the cell so that the card container itself keeps its original proportions and does not break the layout of adjacent statistics.

Actual Behavior

The long domain text remains on a single line and pushes far past the container boundaries. This forces the table structure to expand horizontally, hiding columns further to the right and causing visual glitches across the statistics boxes.

Activity

  1. transferred this issue frompi-hole/pi-holeon Oct 17, 2026
  2. DL6ER commented on Oct 18, 2026

    @DL6ER
    Member

    Confirmed from the markup. The domain cell in the top lists is a plain <td> with no wrapping rule, so one long unbroken hostname widens the whole table. .table-responsive then scrolls sideways and pushes Hits and Frequency out of view. The query log already wraps its domain column with word-break: break-all, and the dashboard top lists just need the same rule for their first column. I'll put a small fix together. A screenshot would still help, so I can check it against the exact layout you see.

  3. Balgost commented on Oct 18, 2026

    @Balgost

    I found this thread from a websearch. I have the same issue with the long domain name pushing the hits and frequency off the visible table for Top Blocked Domains. Thank you to SebastianGrass for posting this! I am including a screenshot in case it is of use:

    Image
  4. SebastianGrass commented on Oct 18, 2026

    @SebastianGrass
    Author

    Thanks Balgost, your screenshot shows exactly what I wanted to address. Adding just for completeness a screenshot of my pihole.

    Thank you all !

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions