Making WordPress.org

#7250 closed defect (bug) (fixed)

Link is not wrapping in mobile view

Reported by: dhruvang21's profile dhruvang21 Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords: has-screenshots has-patch
Cc:

Description

Dynamic hooks link is breaking when seen in mobile view on page coding-standards in php coding standard following is the link of the page. https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#other-descriptions

Attachments (1)

Screenshot from 2023-09-05 12-58-04.png (31.7 KB) - added by dhruvang21 14 months ago.

Download all attachments as: .zip

Change History (4)

#1 @dhruvang21
14 months ago

  • Keywords has-patch added; needs-patch removed

here is the patch :-

.devhub-wrap .site-main a {

border: 0;
text-decoration: underline;
word-wrap: break-word;

}

add this css to main.css?ver=1680794391 on line 385

#2 @coffee2code
13 months ago

  • Component changed from General to Developer Hub

#3 @coffee2code
12 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the report! This was fixed in 59f2a0e on GitHub:

Prevent long links from clipping at narrow viewports.

Fixes #275.

I closed this via an identical ticket on GitHub posted the same day (which I just happen to see that first as I was making changes), but I've also given you props after the fact.

Note: See TracTickets for help on using tickets.