Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-Line Display for Post Meta and Taxonomies #433

Open
3 tasks
ZaredRogers opened this issue Nov 1, 2024 · 1 comment · Fixed by #442
Open
3 tasks

Single-Line Display for Post Meta and Taxonomies #433

ZaredRogers opened this issue Nov 1, 2024 · 1 comment · Fixed by #442
Assignees
Labels
[Component] Block Variations Block development issues or pulls. [Dev] CSS Styling Related to editor and front end styles, CSS-specific issues. [Status] Needs Dev Ready for, and needs developer efforts [Type] Feature New feature to highlight in changelogs
Milestone

Comments

@ZaredRogers
Copy link
Contributor

Description:

Create a solution to wrap post meta and taxonomy content so it displays on a single line. This styling update is needed primarily for the Fast Facts sections in Tours, Accommodation, and Destinations, as well as in the Itinerary and Units patterns.

This functionality will likely require CSS adjustments to ensure all content fits in a single line, maintaining readability and alignment, and wrap below the label when too long to fit.

Requirements:

  1. Fast Facts Sections:

    • Ensure post meta and taxonomy content is displayed on a single line across Tours, Accommodation, and Destinations.
  2. Itinerary and Units Patterns:

    • Adjust styling so that post meta and taxonomy details fit within a single line format.
  3. CSS Implementation:

    • Use CSS to manage overflow, wrapping, and spacing as needed for consistent display.

Acceptance Criteria:

  • All specified sections display post meta and taxonomies on a single line without breaking layout.
  • CSS is applied in a way that maintains content alignment and readability.
  • Styling matches the design provided in the screenshots.

Design Notes:

Refer to the screenshots for visual reference on expected layout and styling for single-line display.

Screenshots

How the meta wraps right now if put in a row

Image

How it should behave

Image

@ZaredRogers ZaredRogers added [Component] Block Variations Block development issues or pulls. [Dev] CSS Styling Related to editor and front end styles, CSS-specific issues. [Status] Needs Dev Ready for, and needs developer efforts [Type] Feature New feature to highlight in changelogs labels Nov 1, 2024
@ZaredRogers ZaredRogers added this to the 2.0.0 milestone Nov 1, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Nov 1, 2024
@ZaredRogers ZaredRogers moved this from Needs Triage to 📥 Needs Dev in Tour Operator Nov 1, 2024
@krugazul krugazul mentioned this issue Nov 8, 2024
@krugazul krugazul modified the milestones: 2.0.0, 2.1.0 Dec 11, 2024
@krugazul
Copy link
Collaborator

Currently we have done the best to get the items into 1 line, we are going to have to focus on changed the layout from multiple rows, to just one row. And either include the icon using CSS or a block options which automatically adds in it.

@ZaredRogers ZaredRogers linked a pull request Jan 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Block Variations Block development issues or pulls. [Dev] CSS Styling Related to editor and front end styles, CSS-specific issues. [Status] Needs Dev Ready for, and needs developer efforts [Type] Feature New feature to highlight in changelogs
Projects
Status: 📥 Needs Dev
Development

Successfully merging a pull request may close this issue.

2 participants