Review main Ready for review

98219[BUGFIX] Keep the workspace preview top bar within narrow viewports

Alexander Hahn CR 0 V 0 Easy +44 −2 updated 11/30/26, 14:59

Commit message

On narrow viewports the top bar of the workspace split preview ran out
of the viewport to the right. The stage buttons, like "Send to stage",
"Publish directly" and "Discard", never wrapped, and neither did the
notice "The previewed page has been created in a workspace and has no
live counterpart." shown for new pages. The column of the preview layout
also grew to the widest unbreakable part of the top bar instead of the
viewport, so the comparison slider and its labels overflowed as well.

The buttons now wrap onto further lines while each keeps its label on a
single line, the notice wraps like running text, and the layout column
is limited to the viewport width. Wide viewports are not affected.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/19/98219/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/19/98219/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 1

Issues 2

Files 3

Review log 24

  1. Alexander Hahn uploaded patch set 1 11/30/26, 14:15

  2. core-ci voted on patch set 1 V -1 11/30/26, 14:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116025

  3. Alexander Hahn uploaded patch set 2 V -1 11/30/26, 14:47

  4. core-ci voted on patch set 2 V +1 11/30/26, 14:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116040