- Issue created by @deiviic
- First commit to issue fork.
- @viren18febs opened merge request.
- Status changed to Needs review
about 1 year ago 6:11am 2 November 2023 - ๐ฎ๐ณIndia viren18febS
HI @deiviic
I have fixed the issue & added commit in MR, please review here.
https://git.drupalcode.org/project/drupal/-/merge_requests/5217/diffs?co... - Status changed to Needs work
about 1 year ago 3:19pm 2 November 2023 - First commit to issue fork.
- Status changed to Needs review
about 1 year ago 3:59pm 2 November 2023 - Status changed to Needs work
about 1 year ago 2:50pm 7 November 2023 - ๐บ๐ธUnited States smustgrave
Before/after screenshot should be added to the issue summary.
May not be needed but tagging for sub maintainer input also.
- ๐ฎ๐ชIreland markconroy
This is one of those recursive issues
- Too much space when editing in Claro: #3158854: Node form: address chasm between main form and meta โ
- The node edit form is now too wide in Claro: ๐ Node form layout looks awkward on wide screens since #3158854 Fixed
- Today: The node edit area is too thin in Claro: ๐ Claro content editing area is too narrow Needs review
We've found it, solved it, found it, solved it ...
I'm not sure what the actual answer is. I know in Annertech we just created a clone of Claro to add the CSS to fix this specific issue for our desires because it seems whatever we choose it will be too wide for some and too narrow for others.
- ๐ฑ๐ปLatvia deiviic Riga
I don't see how taking up the whole available space would be too wide.. For now we also just cloned the Claro theme and made the necessary changes.
- Status changed to Postponed: needs info
about 1 year ago 8:42am 15 December 2023 - ๐ช๐ธSpain ckrina Barcelona
First, thanks all for raising this issue and working on this. I am totally aware that this is a problem to be fixed, but as @markconroy mentioned there's been several attempts to fix that with a general layout changes changing the max-with. The truth is that this width should change depending on the needs of the content it's printing. If you have a really small form so much width is bad on a usability perspective.
We are working towards solving this problem in a more holistic way on a design perspective in ๐ [META] Layout redesign Active .
But this problem would likely be solved if specific form elements that need extra horizontal space (like vertical tabs) could add a class to either the main content region or a parent that would modify the max width.
If you want to work to solve that it would be great: feel free to reflect it on the issue summary. But if the proposed solution only tries to change the max-with for all situations I'm afraid I'll have to close this as work as designed.
- ๐จ๐ญSwitzerland saschaeggi Zurich
saschaeggi โ changed the visibility of the branch 3398277-claro-content-editing to hidden.
- Status changed to Needs review
about 1 year ago 11:52am 15 December 2023 - ๐จ๐ญSwitzerland saschaeggi Zurich
@ckrina & I discussed this at length today.
While we're working on ๐ [META] Layout redesign Active to tackle this more holistically we want to provide some improvements right now.
We looked at different possible sizes and settled at
60rem
(960px, up from 832px) as the default for now.
To take advantage of CSS3 new:has()
feature which should land in Firefox pretty soon (2023-12-19 as of writing) as last browser not supporting it, we included a check if vertical tabs are used in the layout and extend the layout to68rem
(1088px).While this might still not be wide enough for your specific use case we expose both widths as CSS3 variable:
--layout-region-edit-width // New default width of 60rem, for basic layouts --layout-region-edit-extended-width //New width for layouts which require more space (e.g. vertical tabs)
so changes can be made easily without having the need to subtheme Claro.
We hope to at least address the pain point of the possible shortcomings of this layout until we can implement ๐ [META] Layout redesign Active ๐
- ๐ซ๐ฎFinland lauriii Finland
I tested the MR manually both with and without vertical tabs. I personally find reading something like the body content easier with the
832px
width. This is pushing the CKEditor content to be quite a lot wider from that of native text editors. I don't want to hold this change on that but just wanted to bring that to attention. I do like the vertical tabs fix because it at least allows improving that a little but. I think we need a follow-up because vertical tabs are currently not usable on screens below ~1300px on the node form. - ๐ช๐ธSpain ckrina Barcelona
@lauriii I agree with you 200%. But Iโve tested it with 55, 58 and 60rre. 60rem is way too wide on a line length perspective, but without having a solution easy to apply and adapt by contribs itโs worst the pain we are causing to a lot of people that need to use a wider form (because it's the solution implemented by widely used contribs) than the pain weโre causing with this longer line length (at 60rem/960px) to the rest of users.
- ๐จ๐ญSwitzerland saschaeggi Zurich
@lauriii @ckrina +1
but without having a solution easy to apply and adapt by contribs itโs worst the pain we are causing to a lot of people that wants need to use a wider form (because it's the solution implemented by widely used contribs) than the pain weโre causing with this longer line length (at 60rem/960px) to the rest of users.
This is why we opted for the giving solution
- Status changed to RTBC
about 1 year ago 6:04pm 15 December 2023 - ๐ซ๐ฎFinland lauriii Finland
Looks like generally all of the maintainers are +1 on this. I think we still need 10.2.x backport but the 11.x MR is ready.
-
ckrina โ
committed 3df04e71 on 11.x
Issue #3398277 by Gauravvvv, saschaeggi, cilefen: Claro content editing...
-
ckrina โ
committed 3df04e71 on 11.x
- First commit to issue fork.
- Merge request !5832Issue #3398277 by Gauravvvv, saschaeggi, cilefen: Claro content editing area is too narrow โ (Open) created by bnjmnm
- ๐จ๐ญSwitzerland saschaeggi Zurich
@lauriii 10.2.x backport is ready -> https://git.drupalcode.org/project/drupal/-/merge_requests/5832
- Status changed to Fixed
about 1 year ago 7:34pm 15 December 2023 - ๐ช๐ธSpain ckrina Barcelona
-
ckrina โ
committed 1050de87 on 10.2.x
Issue #3398277 by saschaeggi, Gauravvvv, bnjmnm, cilefen: Claro content...
-
ckrina โ
committed 1050de87 on 10.2.x
- Status changed to Needs review
about 1 year ago 2:16am 19 December 2023 - ๐บ๐ธUnited States benjifisher Boston area
Usability review
We discussed this issue at ๐ Drupal Usability Meeting 2023-12-15 Needs work . That issue has a link to a recording of the meeting.
For the record, the attendees at the usability meeting were @AaronMcHale, @Emma Horrell, @benjifisher, @rkoller, @simohell, and @worldlinemine.
We agreed with the point made in #19: even before this issue, the content area is often too wide, and this change can make it worse. On the other hand, users have the option of narrowing their browser windows if the content area gets too wide. Perhaps it is better to make it too wide in some situations than to make it too narrow in other situations.
We were frustrated by the "Steps to reproduce" in the issue summary:
Setup vertical tabs in form display
That is not enough information, and we wasted some time trying to reproduce the screenshot in the issue summary.
- Status changed to Fixed
about 1 year ago 4:40pm 19 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Re #11, #19, #20, #29.
It seems established that, and I confirm it, opinion and needs on this subject vary depending on the user.
Why is this forced on users then? Is this a CMS or a dictatorship?
A "do not limit editing form width" checkbox in the theme parameters would be nice.
To me white space around the form looks as much silly as inside it.
And it's worse from an ergonomic point of view when you use the Bricks module for example.