Node form layout looks squeezed

Created on 9 December 2022, over 1 year ago
Updated 20 March 2024, 3 months ago

Problem/Motivation

This is from the closed issue https://www.drupal.org/project/drupal/issues/3184667 📌 Node form layout looks awkward on wide screens since #3158854 Fixed .. It looks the patch made it to 9.4.x with less width and it becomes squeezed to edit the node.. This patch increased the width. Applied it on 9.4.9 works good.

🐛 Bug report
Status

Closed: duplicate

Version

11.0 🔥

Component
Claro 

Last updated about 5 hours ago

Created by

🇺🇸United States maddysp3

Live updates comments and jobs are added and updated live.
  • Needs product manager review

    It is used to alert the product manager core committer(s) that an issue represents a significant new feature, UI change, or change to the "user experience" of Drupal, and their signoff is needed. If an issue significantly affects the usability of Drupal, use Needs usability review instead (see the governance policy draft for more information).

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇵🇱Poland witeksocha

    We stumbled on this problem when developing a premium plugin for CKEditor 5. The space is not wide enough to fit the editor with two side panels (e.g. comments and document outline). Adding screens for reference. It would be great if we could have the possibility to increase somehow the width.

  • Issue was unassigned.
  • Status changed to Active about 1 year ago
  • 🇧🇪Belgium Wim Leers Ghent 🇧🇪🇪🇺

    Thanks for the screenshots, @witeksocha!

    This is soft-blocking https://www.drupal.org/project/ckeditor5_premium_features — they need this CSS work-around right now:

  • 🇫🇮Finland lauriii Finland

    There are also few more reports on 📌 Node form layout looks awkward on wide screens since #3158854 Fixed about how this is causing issues with vertical tabs.

  • 🇫🇮Finland lauriii Finland

    Claro sets a max width on the main column because there were many elements causing issues related legibility on the content edit form if it was rendered as full width. We tried to implement a solution that balances different needs but it certainly fails to take into account some of these special cases where CKEditor itself has multiple layouts, or the cases where vertical tabs are being used. In both of these cases the layout could be wider without suffering from these issues.

    The current width was set based on 1366x768 screen size which at the time was one of the most popular screen size people used to browse web. This meant that developers would have to pay attention to this screen size when creating UI elements, because even if they were doing development with a larger screen, the width of the main container would appear as if you were on that resolution. We could increase the width of the main content area again but that would mean that we leave people using these screen sizes behind, because it seems that we would be doing it because we know that our UIs cannot accommodate these screen sizes.

    The patch from #11 addresses #10 as long as you are using large enough screen, but also re-introduces the legibility issues with larger screens. This is probably still a step forward for the module because at least it makes these UIs usable for users who are using large enough screen. To also fix this for smaller screens, we would have to allow toggling the meta column.

    We should take this into account in 📌 [META] Layout redesign Active but we could try to find a solution we could implement in the meanwhile.

  • 🇳🇴Norway candalt

    Patch for Drupal 10.1.x

  • last update 9 months ago
    29,644 pass
  • 🇺🇸United States bkosborne New Jersey, USA

    I personally find it too narrow as well. We wrap Claro in our own version to allow for minor CSS tweaks like this so it's not a huge deal for me to manually make the change there. We have some content types on out platform with paragraph fields which can get pretty complicated, so the extra width helps.

  • last update 8 months ago
    Patch Failed to Apply
  • last update 8 months ago
    Patch Failed to Apply
  • Status changed to Closed: duplicate 7 months ago
  • 🇨🇭Switzerland saschaeggi Zurich

    Thanks y'all for reporting.

    I'm closing this issue as duplicate in favor of 🐛 Claro content editing area is too narrow Needs review as this uses an MR instead of patches and linking similar issues.

    We are working towards solving this problem in a more holistic way on a design perspective in 📌 [META] Layout redesign Active

    See also https://www.drupal.org/project/drupal/issues/3398277#comment-15361838 🐛 Claro content editing area is too narrow Needs review

  • 🇨🇭Switzerland saschaeggi Zurich

    Cross-posting of the latest movement on this topic here for those interested: https://www.drupal.org/project/drupal/issues/3398277#comment-15362136 🐛 Claro content editing area is too narrow Needs review

  • 🇳🇴Norway candalt

    Patch for 10.2.x

  • 🇳🇴Norway candalt

    Patch for 10.2.x

Production build 0.69.0 2024