Page MenuHomePhabricator

Fix carousel width in Vector 2022 with limited width mode disabled
Closed, ResolvedPublic

Description

In Vector 2022, users are able to disable "limited width mode" via their preferences. This removes any limit on page width, and it appears to set the width of the content area equal to its contents.

With View it! enabled, this causes the width of the page content to expand to the width of the entire carousel, as shown below:

Screen Shot 2023-01-30 at 12.51.37 AM.png (1×2 px, 1 MB)

Event Timeline

This has been fixed via adding width: 0px; min-width: 100%; to the View it! gallery element. This causes the element to have no width for the sake of its parent elements calculating their widths, but it will appear at 100% width of the page contents.

Aklapper subscribed.

@SuperHamster: Removing task assignee as this open task has been assigned for more than two years - See the email sent on 2025-05-22.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome!
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!

SuperHamster claimed this task.
SuperHamster moved this task from In Progress to Done on the View-it! board.