Skip to content

[BUGFIX] Show single cards in the order view at full width - #769

Open
johfeu wants to merge 1 commit into
extcode:mainfrom
johfeu:fix/main/single-cards-full-width
Open

johfeu wants to merge 1 commit into
extcode:mainfrom
johfeu:fix/main/single-cards-full-width

Conversation

@johfeu

@johfeu johfeu commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

In the backend order view, the "Ordered items" card (and the order comment card) no longer spans the full width under TYPO3 v14. The items table gets cut off after a few columns.

Cause: Both cards are wrapped in their own div.card-container. In v14 the backend lays out card-container as a grid of fixed-width cards. The styleguide uses it only to group several cards in a row:

Multiple cards — To display multiple cards, group them by wrapping them with div.card-container.

Change: Remove the wrapper around these two single cards in Templates/Backend/Order/Order/Show.html and move the mb-3 spacing onto the comment card. The Address and Properties partials group several cards and keep their card-container.

Markup only, no PHP changes.

Resolves: #770

TYPO3 v14 lays out div.card-container as a grid of fixed-width cards.
The order view wraps the comment card and the ordered items card each
in their own card-container, so both shrink to card width and the items
table gets cut off.

The styleguide uses card-container only to group several cards in a
row. Drop the wrapper around these single cards; the address and
properties partials, which group several cards, keep theirs.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend order view: single cards shrink to card width in TYPO3 v14

1 participant