The post date wraps onto two lines on narrow screens when a post has many categories
Maintainers usually reply within 3 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 73/100
Research direction
Start by locating the single post template or block styles that define the “Date and Categories” group and its flex settings. Reproduce with five categories at a 375px viewport, then adjust the layout so the date stays on one line while categories wrap; verify the same post layout at narrow width.
Written by the indexing model from the issue text.
Description
What happened?
On the single post, when a post has several categories, the date gets squeezed on narrow screens and wraps onto two lines.
I expected the date to stay on one line, with the categories wrapping instead.
The "Date and Categories" group uses "flexWrap":"nowrap", which seems to be why the date shrinks.
Environment:
- WordPress Studio, no subdirectory
- Server: PHP/8.4.27 (Development Server)
- Database: WP_MySQL_On_SQLite (Server: 8.0.38-mysql-on-sqlite-3.1.2 / Client: 3.53.4)
- MU plugins: 99-studio-loader.php
- Plugins: Test Reports 1.3.1
Where does it happen?
On the site (front end)
Steps to reproduce
- Activate Ipsum and create five categories, for example News, Travel, Photography, Web Design and Food.
- Publish a post with all five categories.
- View the post at a viewport width of 375px.
- The date wraps onto two lines.
Screenshots or screen recording
No response
WordPress version
7.2-beta4
PHP version
8.4.27
Ipsum version
1.0, bundled with WordPress 7.2-beta4
Gutenberg plugin version
No response
Browser and device
Chrome 152.0.7977.167 on Windows 10/11
Before you submit
- I searched the existing issues and this bug hasn't been reported yet.
- Dominant language
- PHP
- Stars
- 67
- Forks
- 41
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 35
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WordPress/ipsum
-
[Type] Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
WordPress/ipsum#229 · 1 comment ·
Maintainers usually reply within 3 days
-
Accessibility: The navigation in the overlay is named "Expanded"Possibly taken @elphizu claimed this 1 day ago. Open[Type] Bug
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 3 days
-
Quote Mark block styles on Paragraph and Heading blocks may be confusingPossibly taken @AshishJii claimed this today. Open[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
WordPress/ipsum#213 · 1 reaction ·
Maintainers usually reply within 3 days
-
[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
WordPress/ipsum#197 · 2 comments · 1 reaction ·
Maintainers usually reply within 3 days
-
Post Template: Only display "Keep Reading" if there are posts to keep readingPossibly taken @rvpatel claimed this 21 days ago. Open[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 3 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 3 days
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
[Sync EN] Formatting improvements to "Large Objects (LOBs)" docs (#6056)Possibly taken A pull request linked to this issue is open or already merged. Opensync-en
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Перевод устарел
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
craftcms/cms#20613 · 1 comment ·
Maintainers usually reply within 1 day