Problem/Motivation
The /user/register page has an unnecessarily long description for the email address field, making the text harder to read and causing an unpleasant visual effect on wider pages.
The initial suggested approach to solve this was to restrict the width of all form fields. By comment #75 it was observed that this was a very broad change that requires long 1hr+ reviews, causes a wide range of unwanted regressions and side effects, to address a concern about one field description in /user/register. The issue scope was changed to focus on a solution specific to the form+field description that inspired the issue so we avoid building a dome over an entire city to address a leaky roof in a single house.
Proposed resolution
Improve the description so that is shorter or takes up less width.
Before/After
The current implementation:

A shorter version:

Original issue
The original proposal was to implement a "maximum width" attribute to the theme so the text would be wrapped at a certain width:

But this introduced too many side effects and complexity to the issue so a simpler approach was proposed by @bnjmnm in #75.
| Comment | File | Size | Author |
|---|---|---|---|
| #96 | 3092296-nr-bot.txt | 144 bytes | needs-review-queue-bot |
| #95 | 3092296afterpatch.jpg | 30.83 KB | gaurav-mathur |
| #95 | 3092296 beforepatch.jpg | 32.43 KB | gaurav-mathur |
| #78 | before_limit_patch.png | 70.67 KB | marcusvsouza |
| #78 | after_limit_patch.png | 54.16 KB | marcusvsouza |
Comments
Comment #2
fhaeberle+1 this should be fixed
Comment #3
ckrinaComment #4
ckrinaComment #5
timdujardin commentedI would suggest using
40emas max-width, to provide a readable default width.Comment #6
timdujardin commentedI would suggest using
40emas max-width, to provide a readable default width.FYI: previous patch comment was empty, so can be removed.
Comment #7
bhumikavarshney commentedHi,
Please try this patch as max-width is set for all the text fields including description.
Comment #8
bhumikavarshney commentedComment #9
KondratievaS commentedTested patch from #7 and width of form elements is not limited
Comment #10
KondratievaS commentedComment #11
bnjmnmIt doesn't look like any of the patches are applying (notice the "Patch failed to apply" errors), I see two things that need to be done differently before they'll work:
Comment #12
sauravk commentedComment #13
kishor_kolekar commentedplease review the patch.
Comment #14
KondratievaS commentedI tested patch from #13 using simplytest.me and still do not see any changes
@kishor_kolecar how did you get result as on your screenshot?
Comment #15
KondratievaS commentedComment #16
bnjmnmThese are the changes applied in #13. What's here won't work for a few reasons, but lets see what I can do to help things get figured out.
This is what the patch changes, but this doesn't fulfill the task requirements for a few reasons:
Patch #7 was much closer to what was needed. The issue there was that the changes were not made to Drupal core, but to a branch of just Claro.
Comment #17
kishor_kolekar commentedThank you @bnjmnm for correct me, sorry I missed the requirement.
as u stated in #11 I cone that repo (https://git.drupal.org/project/drupal.git)
please review the patch
Comment #18
KondratievaS commentedTested patch from #17 and on /admin/people/create page
Confirm passwordfields has different length from other fieldsComment #19
KondratievaS commentedComment #20
kishor_kolekar commentedplease review the patch.
Comment #21
KondratievaS commentedTested patch from #20 in Chrome, FF, Safari and IE for mobile and desktop and result is OK
Comment #22
KondratievaS commentedComment #23
lauriiiThe
js-prefixed classes are supposed to be used only in JavaScript. Let's use.form-iteminstead. I'm also wondering if we could simplify these selectors by removing theformelement from the beginning of the selector?Comment #24
kishor_kolekar commentedThanks @lauriii I have removed js prefixed classes.
please review the patch.
Comment #25
lauriiiDo we still need this change? It seems like
.password-confirmelement is also.form-item.Let's simplify these selectors by removing
formfrom the beginning. There also should be a space before the curly bracket 🧐Where is the 30rem coming from? Based on https://www.figma.com/file/NpZUAp8BEkMJvm5gKBCDBB/Claro?node-id=16457%3A... it should be 32rem. 🤔
Comment #26
sauravk commentedComment #27
bhumikavarshney commentedHi,
Patch works fine for me.
Thanks
Comment #29
xjmComment #30
saschaeggiThanks all for your work, really looking forward so see this improvement arrive in Claro soon :)
Comment #31
lauriiiI'm wondering if we should make some other changes in the scope of this issue because this looks a bit off on a wide screen. For example, the sidebar is wider than the main form, and looks disconnected from rest of the form.

Comment #32
bnjmnm#31 brings up a good point so I investigated options
I first looked at how the node form looks in Seven, which doesn't have the jarring effect of the screenshot in #31.
Many of the form inputs (and all the inputs in this screenshot) are limited in width, but it seems fine.
Seven: narrow inputs but looks OK

It seems like it's fine for single-line text inputs to have a max-width, but when inputs like CKEditor or the Media Library widget are restricted in width the form experience isn't so great.
It looks weird when Media and CKEditor have restricted widths

So this patch targets specific form element types that will receive the max-width styling. It seems like when taller inputs like CKEditor are full width the experience seems right. CKEditor in particular is something I assume users would want larger anyway.
This is what the patch does

Comment #33
saschaeggiThe idea was not to limit the width of other elements like media, textareas & ckeditor.
I'd say that Inputs like Text, Date, Email, Passwort, Select etc. should have the same length (max-width) but not Textarea, Ckeditor, Media etc.
So we might want to follow-up on this in the next weekly call, to be sure we have some valid guidelines. Also to define which element should be tackled and which not.
Another thing I just noticed is that in the toolbar the max-width also looks a bit weird now but would be consistent indeed.
Comment #34
KondratievaS commentedTested patch from #32 and for me result is not really good - length of Textarea, Media ect is too big
Comment #35
KondratievaS commentedComment #36
ckrinaI do agree with @saschaeggiand and @bnjmnm : for usability purposes the text area shouldn't have a max-width. But I might agree with @KondratievaS on fieldsets. Probably, on Media, I would only say that if it doesn't have any element added.
Comment #37
lauriiiI don't fully understand why we wouldn't limit the max-width of textareas / CKEditor because they are still mainly used for editing text. For example on my 15" MacBook Pro, I get more than 150 characters per line on CKEditor which makes the text very hard to read.
I'm wondering if we should increase the max-width to something that could be applied to all of the elements. This would make the page look cleaner and ensures that none of the form elements are going to have lines of text that are extremely uncomfortable for users to read. I'd say we could start with something like 48rems which leads into around 100 characters per line in CKEditor. This does lead into much longer texts in description texts because the font size is smaller, but it might not be a problem since description texts usually don't tend to be too long. It's not optimal to have 100 characters per line, but it's something that seems to work pretty consistently with different elements.
Comment #38
saschaeggi@lauriii seeing this now without the sidebar I would also vote to limit them. Maybe we can also go with 2 widths (even if 1 width would look nicer) so have one with for more regular inputs etc. and one for textarea, media etc.
E.g.:

Comment #39
lauriiiI tried out something to try to resolve #31. On this screenshot I'm using max-width of 48rem and I've centered the main form. Any thoughts on this idea? I think it's an improvement over #31 and should resolve #34 too.
Comment #40
saschaeggi@lauriii would also be a nice option and looks cleaner, too.
I like it. will look even better with the layers in place later =)
Comment #41
ckrinaThe base assumption of 100 characters is really good, so I'd say as the default width makes sense. Good call. But I'm concerned the technical approach won't let the users increase the width if they want to. So basically, +1 to this but I'd try to find a solution to be sure the user can increase the width later on, even if it's a bit of JS and/or in a follow-up.
Also something else to take into account in the future (not in this issue) is that we're basing this 100 characters in our current font size (16px) but a) we might change that in the future and b) it is easy to import frontend theme styles in a WYSIWYG area which could lead into having bigger font sizes and less characters per line (even though the 100ch gives us enough margin in most of the situations).
About centering the form, I agree too on that this is the direction we should go. But at least the title should behave accordingly and be aligned with the form, specially with the current Claro design inherited from Seven. So I'd suggest to address it in a followup because it is tied to other layout&spacing decisions.
Comment #42
lauriiiIf we make the title follow the same layout, it means we will have to limit the width of the whole layout as proposed in #3096358: Claro layout on really wide screens/viewports causes uncomfortable text line length. If that's the direction we'd like to take, should we close this issue as a duplicate and move on to working on that?
Comment #43
saschaeggiI would still prefer to still see this in first as a quickfix. I see the pain of the #3096358 but this for sure requires design work first, as I wouldn't limit all layouts to a max-width. I did something similar lately in Gin, where the configuration pages aren't limited (but the inputs and texts have a max-width set) and the node edit form has a max-width (centered).
This also requires a lot of testing too to make sure everything will work in the end (I had the same issues in Gin when limiting the node edit forms).
Also we should still use a max-width on inputs, as a max-width of the content doesn't mean the same max-width as for input elements.

So I vote for implementing this first and come up with a plan for #3096358. Also when we work on the layout then we should combine it with adding layers like:
Comment #44
ckrina+1 on @saschaeggi 's suggestion. Limiting the width of the form elements is already a needed improvement. So I would suggest to implement what #39 shows but without the centering. And then opening a follow-up for adding the option to text-areas to increase the width above the max-width.
I agree with Sacha on having a focused discussion about layouts: we should get rid of the grey header and white background and jump to use layers to define regions (as was initially planned and Gin is already doing), and that affects the title position and content alignment.
Comment #45
lauriiiDoes anyone have other ideas for addressing #31?
Comment #46
bnjmnmIntentionally not providing this as a patch to emphasize this is part of discussion. - there are still decisions to make before we can start creating patches.
Possible solution to node form
I tried an approach similar to #39, but instead of centering the form, I set a max width. This aligns it with the title, addressing the concern in #42
I based the max-widths on the fact that
48rem + 2rem + ((48rem + 2rem)/2) as it won't provide anything other than whitespace past that width
Is there a broader design concern that should be addressed instead?
Before the above approach can even be considered, we'd need to be absolutely certain it only occurs in node forms. otherwise this (and any other approach targeting only node form) is not sustainable.
The issues with the node form exists because:
If we can be confident that this scenario only applies to node forms, I'd personally be comfortable adding these two max-width rules to node forms, and including @todo items if there is a broader layout design issue that may supersede these.
Comment #47
bnjmnmFound two additional concerns:
admin/config/people/accountsyou can see en example of this at
admin/config/content/formats/manage/basic_html?destination=/en/admin/config/content/formatsComment #48
bnjmnmIs there a specific reason that the solution is a max width of form elements instead of targeting
.form-item__description, which is where the width problems are happening? I couldn't find a rationale for this choice, but even if one exists it may be worth revisiting the approach of targeting.form-item__description.Limiting the width of descriptions a would address the reported problem (descriptions too long), but without the node form problems first mentioned in #31 and the vertical tab and table problems found in #47, both of which do not have obvious solutions.
Comment #49
bnjmnmDiscussed this with @lauriii and there was agreement that setting a max width broadly to all form elements introduces a wide range of problems and increases the likelihood of unwanted side effects that may not be immediately apparent. This patch re-explores setting a max width to more specific selectors. In this case, form descriptions and textareas are at a max-width of 48rem. Screenshots are attached. Its worth observing that details and media widgets are both still full width, but (unlike very-wide descriptions and textareas ) not in a way that increases difficulty of use.
Comment #50
dwwMostly looks good. Agreed on needing to be more targeted to avoid unintended side effects.
However, the orphaned "About text formats" floated all the way right seems like a UI bug to solve before this is RTBC.
Thanks,
-Derek
Comment #51
bnjmnmThanks @dww, completely missed that text formats link being out of place. Added another selector to the max width recipients to address that.
Comment #52
dwwLooks much better, thanks!
However, https://www.drupal.org/files/issues/2020-06-10/d9.test_en_node_16_edit_d... still has something similar for the "Show media item weights". I guess that's more of a mess, since the entire "Media image" details/widget is still full width, but limiting that isn't a good idea? I'm not totally following all the details, sorry. #51, as-is, is probably an improvement over that we've got, so we could probably ship it like this. But maybe it's worth handling this media field, too?
Thanks,
-Derek
Comment #53
priyanka.sahni commentedComment #54
priyanka.sahni commentedVerified and tested by applying the patch #51 by manual testing perspective.It looks good to me.Can be moved to RTBC.
Steps to test -
1. Go to admin site.
2. Go to admin/appearance.
3. Enable the Claro theme.
4. Go to admin/people/create.
5. Verify.
6. Go to node/add/article.
7. Verify.
8. Go to /media/add/image.
9. Verify.
Before_User -

After_User -

Before_Article -

After_Article -

Before_Media -

After_Media -

Comment #55
priyanka.sahni commentedComment #56
bnjmnmThis patch makes the following changes:
This differs from what was discussed at today's weekly Claro check in. The suggestion was no max-width on the Media Library widget, but it should also not expand to the width of it's container without enough media items in the grid to occupy that width. It turns out this is not a simple thing to implement due to the widget's structure. Fortunately, setting a max-width looks better than I expected. The no-max-width approach sounds preferable, but complex enough to deserve it's own issue. I think the max-width here is still beneficial. If needed it can easily be modified in later issue targeting the widget.
Comment #57
bnjmnmFound additional uses of details elements that also required max-width. Screenshot from #56 is not impacted. Including screenshots of the profile update form and how a very long inline error is presented.
Comment #58
ckrinaAs discussed in Slack, the only feedback I can give here is what Sasha already mentioned (missing padding on search field and select size for the Text format selector in the text area) but nothings is part of this issue. Also code look good. So I'd say +1 to this changes 🎉
Comment #59
lauriiiShould we limit the width of multi value fields?
Comment #60
bnjmnmRE #59, it does look better with multi-value widths set to a max as well.
Comment #61
lauriiiI still have similar concerns to #31. I'm trying to bring this to one of the weekly usability calls to get some feedback.
Comment #62
lauriiiDiscussed this in the usability call yesterday. I think a recording will be posted on this issue #3156568: Drupal Usability Meeting 2020-07-07.
On the meeting we got confirmation this issue is a good UX improvement. We looked at #31 and while having white space in between the two elements isn't visually appealing, people didn't find that it would have negative effect to the usability of the page.
One way to get rid of the whitespace in between was proposed in #39. People on the UX call recommended another possible way where the secondary column would be placed next to the primary column on the left side of the page. Here's how that would look:

Comment #63
ckrinaAs discussed in last Admin UI call, I'd recommend to address this bigger separation/space resulting from the form elements width limitation on a follow-up issue where we clearly can evaluate the different layout solutions and its implications with more time and alternatives.
Comment #64
bnjmnmCreated the followup mentioned in #63 #3158854: Node form: address chasm between main form and meta
Comment #65
samiullah commented@bnjmmm any specific manual tests u want us to perform on ur patch?
i can see less space between metadata and main form, will that issue be addressed here or on new ticket
Comment #66
bnjmnm@samiullah Thanks for your interest in the issue. The meta/node form spacing will be addressed in #3158854: Node form: address chasm between main form and meta, and here are some thoughts on what would be good in a manual review
Comment #67
katherinedThis is a partial review, including the first chunk of admin forms tested with Chrome.
The code looks fine to me, and I'm also attaching a rerolled patch.
I've linked screenshots of each form, and noted in bold the forms that don't look as expected.
Account Settings
admin/config/people/accounts
The details elements are full-width here:
admin/config/people/accounts/fields/user.user.user_picture
admin/config/people/accounts/fields/user.user.user_picture/storage
admin/config/people/accounts/fields/user.user.user_picture/translate/he/add?bundle=user
Settings and details elements here are different widths. Maybe an issue?
admin/config/people/accounts/form-display
admin/config/people/accounts/display
This one feels like a details element that doesn't need a max width. The text areas will have a chasm issue as in issue #3158854.
admin/config/people/accounts/translate/es/edit
admin/config/people/accounts/translate/es/edit (wider view)
Text formats and editors
admin/config/content/formats
admin/config/content/formats/add
Could these editor buttons benefit from a max width?
admin/config/content/formats/manage/basic_html?destination=/en/admin/config/content/formats
Performance
admin/config/development/performance
Logging and Errors
admin/config/development/logging
Maintenance mode
admin/config/development/maintenance
Configuration synchronization
admin/config/development/configuration/single/import
admin/config/development/configuration/single/export
Search pages
admin/config/search/pages
URL aliases
admin/config/search/path
admin/config/search/path/add
RSS publishing
admin/config/services/rss-publishing
Basic site settings
admin/config/system/site-information
Cron
admin/config/system/cron
Shortcuts
admin/config/user-interface/shortcut
admin/config/user-interface/shortcut/manage/default/customize
File System
admin/config/media/file-system
Image Styles
admin/config/media/image-styles
admin/config/media/image-styles/manage/large
admin/config/media/image-styles/manage/large/translate
Media Library Settings
admin/config/media/media-library
Media Settings
admin/config/media/media-settings
Comment #68
katherinedI've again linked screenshots of each form, and noted in bold the forms that could use another look.
More forms:
Responsive image styles
admin/config/media/responsive-image-style
This one has a full width details element
admin/config/media/responsive-image-style/3_2_image full-width details element
Image toolkit
Full-width details element
admin/config/media/image-toolkit full-width details element
Regional settings
admin/config/regional/settings
Date and time formats
admin/config/regional/date-time
admin/config/regional/date-time/formats/add
admin/config/regional/date-time/formats/manage/long?destination=/en/admin/config/regional/date-time
Languages
admin/config/regional/language
admin/config/regional/language/edit/en?destination=/en/admin/config/regional/language
Content language and translation
en/admin/config/regional/content-language
User interface translation
Proximity of details element to full-width table might be awkward here
admin/config/regional/translate
Configuration translation
admin/config/regional/config-translation
Workflows
admin/config/workflow/workflows
Full-width details element with a max-width details element.
admin/config/workflow/workflows/manage/editorial?destination=/en/admin/config/workflow/workflows
Node form
Divider width here looks a bit awkward?
node/add/article
Contact
admin/structure/contact/add
Taxonomy
admin/structure/taxonomy/add
Content type
admin/structure/types/add
Fields
admin/structure/types/manage/article/fields/node.article.body
Contrib:
Metatag
admin/config/search/metatag/settings
admin/config/search/metatag/add
Paragraphs
Full-width details element
admin/structure/types/manage/article/fields/node.article.field_paragraph
admin/structure/paragraphs_type/add
Pathauto
admin/config/search/path/patterns/add
admin/config/search/path/settings
Webform
admin/structure/webform
admin/structure/webform/config
The table here extends beyond the details element
admin/structure/webform/config/libraries
Comment #69
katherinedI tested with IE, and did not find any issues unique to IE, but in the process spotted a page where the vertical tabs border is a bit awkward at medium widths around 1024.
admin/config/people/accounts
Comment #70
bnjmnmThe impressively thorough review from @katherined has led to doubts about the current approach. I'm going to go through the first few items in the review and use those to build a case.
This one is managable, these could be addressed by recursively adding the
.form-item__detailsto all details elements in the form, not just the immediate children in the $form array. Addressing this type of issue prompts no concernI agree this doesn't look good and could be perceived as bad (or broken) design. It's not immediately clear how to elegantly un-target these details elements for max-width. Even if there were there a way un-target them, I'd still have concerns regarding the consistency and maintainability of deciding where and where not to apply these max-widths.
This one presents all the concerns of the prior item: the width probably shouldn't be limited here, it may be a tricky edge case to implment, the implementation would add noise and fragility. It also adds a new one: The approach used in this form suggests the approach was made with the assumption that details elements would not have limited widths. Even if we were to catch every instance in core, I'm concerned that many contrib forms were designed with the same assumption, and limiting details widths could adversely impact UX and Drupal-sentiment.
This could spawn a great deal of discussion in its own right. Were the editor buttons limited in width, the argument could be made for the opening help text ("A text format contains filters that....") to be limited in width as well. Then additional design choices present themselves in a headache encouraging pace: Further down the page, there would still be tabledrag and vertical tabs elements not limited in width. Insisting tabledrag not be max-width shouldn't be difficult to justify, but the tabs have considerable unused space which may justify max-widthing it based on the rationale for details... but then would look odd underneath the full-width tabledrag.

The previous few sentences are potentially nonsensical... which I think is indicative of the potential scariness of this approach.
Assorted thoughts based on the above
This is a 107 character version that I don't think would deprive the user of anything compared to the long version. The shorter length may even increase the chances of it being read.
That's another way to limit the width.
(The wordpress help text is "If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed.").
Comment #73
sakthivel m commented#73 Please review the patch
Comment #74
chetanbharambe commentedVerified and tested patch #73.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: admin/people/create
# Check Limit width of form elements
Expected Results:
# width of form elements should not long.
Actual Results:
# currently width of form elements looks too long.
Looks good to me.
Need +1 RTBC
Comment #75
bnjmnmThis shouldn't be considered RTBC. The great reviews in comments #67, #68 and #69 identified several places where this change has potentially undesirable side effects. Comment #70 points out several more problems with the max width approach.
The max width approach has too many side effects, we should not do it.. The problem reported is a minor aesthetic concern for with one form field that impacts users with wider displays. The solution is one that impacts the entire Claro theme and has side effects worse than a slightly long form field description.
My proposed solution:
The problem reported was the long description text here:

Just change the form help text from
A valid email address. All emails from the system will be sent to this address. The email address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by email.To
This address is not made public. It will only be used for password resets and (if opted-in) notifications.It's a more coherent sentence at half the length!
Comment #76
srilakshmier commentedI am working on it.
Comment #77
srilakshmier commentedAttaching the patch based on the comment #75.
Comment #78
marcusvsouza commentedThe following review it's about comment #77.
Testing steps:
Expected result
Actual result
The new text is good and fulfills the role well, replacing the old text in an assertive way.
Please refer attached screenshot
Comment #79
imalabyaMoving it to RTBC since the screenshots verifies the review by @bnjmnm in #75
Comment #80
bnjmnmThe issue was filed to Claro, but this is definitely not a change to Claro. This can be addressed in one of two ways:
1. Making the change in Claro,
2. Updating the issue summary/settings to indicate what part of core is receiving the change.
Comment #81
vikashsoni commentedI have applied #77 patch working fine for reference sharing screenshot
Comment #82
bnjmnm@vikashsoni the screenshots you provided in #81 are renamed copies of the screenshots provided in #78. This is replicating someone elses work and will get you credit on the issue. Hopefully this was just an accident and you intended to post something else!
Comment #83
vikashsoni commented@bnjmnm
i think before any comment u have to check and for your confirmation i am sending video for this ticket which u can verify that it's not copy and paste
Comment #84
bnjmnm@vikashsoni I reached this conclusion based on the fact that the MD5 hash comparison shows that the screenshot files in #78 are 100% identical, to the pixel. Having two separate screenshots capture the exact same region of the page, with the same viewport widths, and the page scrolled to the exact same position, etc. is incredibly unlikely but I suppose I should have been open to the possibility that you and @marcusvsouza have bizarrely similar screenshot habits.

Comment #86
rootworkI think #80 might have been lost in the subsequent posts, so noting here that based on where this issue ended up it needs a new title and issue summary, and needs to either be rescoped to core or adapted to only apply to Claro. If it's rescoped to core, this issue should also be removed from the "should have" list at #3066007: Roadmap to stabilize Claro.
Comment #87
rootworkComment #88
andregp commentedUpdated IS, and also removed the issue from the "should have" list at #3066007: Roadmap to stabilize Claro
Thanks @bnjmnm for the suggestion.
Comment #89
andregp commentedI forgot to update the title.
Comment #90
rootworkOne easy fix I could see without rephrasing anything would be to just put some line breaks in that help text, separating it into different paragraphs.
Another could be putting part of it in a
<details>tag, but I'm not sure it's long enough to warrant that.I do think
A valid email address.could probably easily be dropped. We don't say "a valid username" or "a valid password" on the other fields; if someone enters an invalid email then the error message would alert them to that, so I don't think this statement is giving any helpful information to the user.In the current patch (#77) I think the parenthetical "(if opted-in)" is, while shorter, making the sentence harder to parse.
Made some minor typo fixes in the issue summary, and altered the title slightly since the solution might not (only) be about rephrasing it.
Comment #93
smustgrave commentedThis could use an issue summary update.
The patches in #73 and #75 differ so what is the final solution?
Comment #94
gaurav-mathur commentedComment #95
gaurav-mathur commentedPatch#77 applied successfully on drupal 9.5 and it work and looks good to me.
Comment #96
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #97
bnjmnm#77 is in line with an approach that is likely to land. #73 and earlier make very significant changes to Claro that are too complex and far reaching to justify considering the issue is to address a kinda-long description on a single field.
This option likely won't work as the page can be viewed at different viewport widths, and a fixed line break could result in single-word lines.
Comment #98
aaronmchaleThe title and summary of this issue specifically talk about improving the description text of the email address field on /user/register, the majority of the comments on this issue appear to be investigating changing the visual style (mainly width and height?) of text fields.
The help text for this field in 10.1.x appears to be shorter than what is shown in the issue summary. So it's not clear if this issue needs to remain open?
If the issue is actually about changing the visual style of text fields, then the summary and title definitely need an update.
Comment #99
bnjmnm@AaronMcHale the history of this post can be a little confusing. I updated the IS with extra context. If that's potentially too confusing, closing this in favor of a new issue could be a valid approach.
The impetus for creating this issue was always the long description in /user/register, but the original filed issue reported this as evidence for a broader need to restrict form element widths throughout Claro. This turns out to be a huge change that takes hours to review and introduces more problems than it solves. There would need to be more evidence that such a broad change was needed to justify all the potential new issues a mass-narrowing would cause, so the issue was rescoped to the one field where this seems to be a problem.
Comment #100
dwwHah, meanwhile #77 no longer applies to the 10.1.x branch after #3110761: Make more explicit the email address is necessary to recover the password went in and changed this description to just:
That change was backported to both the 10.0.x and 9.5.x branches.
Somewhat heart-breaking, given how much time and energy so many people poured into this issue, but I think "Closed (works as designed)" is now the most appropriate status. 😢
Comment #101
smustgrave commentedIf that's the case I can move over credit.
Comment #102
bnjmnmClosing as outdated, the field description is now much shorter and no longer results in the problem reported. As a bonus, that issue is using pretty much the same phrasing as what I suggested here.
If there are additional places that someone feels might benefit from reducing field width, they weren't reported here so they can be reported in a new issue. And if the interest is truly in reducing all form element widths I certainly hope it references this issue so we can see just how convoluted that can get.