Make WordPress Core

Opened 5 years ago

Last modified 2 months ago

#54808 new defect (bug)

Posts search term does not wrap well on mobile

Reported by: sumitsingh Owned by:
Priority: normal Milestone: Future Release
Component: Administration Version: 5.8.3
Severity: normal Keywords: has-screenshots has-patch
Cc: Focuses: ui, css, administration

Description

Hi,

I just tried to find blog usage on mobile device. Then some UI issue for related search text on post listing page.

More information see SS.

Attachments (2)

post-listing.jpeg (55.9 KB ) - added by sumitsingh 5 years ago.
UI issue for related search text on post listing page.
Annotation on 2024-06-13 at 15-42-15.png (14.8 KB ) - added by m1r0 2 years ago.

Download all attachments as: .zip

Change History (12)

@sumitsingh
5 years ago

UI issue for related search text on post listing page.

#1 @sumitsingh
5 years ago

  • Keywords has-screenshots added

#2 @sabernhardt
5 years ago

  • Component Posts, Post TypesAdministration
  • Focuses accessibility removed
  • Keywords needs-patch added
  • Milestone Awaiting ReviewFuture Release
  • Summary UI issue on post listing pagePosts search term does not wrap well on mobile

I changed the component because this can happen on any screen with search (though Posts and Pages should be most common for long search terms).

Perhaps the subtitle element should have its own line on narrower screens.

.subtitle {
	padding-left: 0;
	display: block;
	line-height: 1.5;
}

#3 @sabernhardt
3 years ago

#58482 was marked as a duplicate.

#4 @sabernhardt
3 years ago

#59793 was marked as a duplicate.

#5 @sabernhardt
3 years ago

Updated screenshot (from #59793):

search term starts to the right of Add New Posts button and wraps below Posts heading

Suggested change (by @sumitsingh):

search term starts below the Posts heading

Last edited 3 years ago by sabernhardt (previous) (diff)

This ticket was mentioned in PR #6813 on WordPress/wordpress-develop by @m1r0.


2 years ago
#6

  • Keywords has-patch added; needs-patch removed

#7 @m1r0
2 years ago

I've created a quick PR for the fix @sabernhardt proposed. Let me know what you think. 🙂

Edit: Opened a new PR. The last one got accidentally closed.

Last edited 2 months ago by m1r0 (previous) (diff)

#8 @tyxla
9 months ago

I've tested @m1r0's fix, and it looks good to me on mobile.

I also verified that this is a minimal set of changes necessary to fix the wrapping issue.

This ticket was mentioned in PR #12083 on WordPress/wordpress-develop by @m1r0.


2 months ago
#9

Trac ticket: https://core.trac.wordpress.org/ticket/54808

## Use of AI Tools

@mukesh27 commented on PR #12083:


2 months ago
#10

After PR:

https://github.com/user-attachments/assets/be4a5669-f0ba-4988-ae38-0b94e0504dd2

Note: See TracTickets for help on using tickets.