Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
Olivero theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2023 at 08:49 UTC
Updated:
12 Mar 2024 at 16:19 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
yash.rode commentedNo word is generally larger than the size allowed by the input body field. The longest word in English is pneumonoultramicroscopicsilicovolcanoconiosis which fits just fine. Still, this can be fixed if there exists any case in which we need to enter a single word larger than the permitted size.
Comment #3
cilefen commentedWhat should happen instead? What are you proposing as a solution?
Comment #4
aditi saraf commentedHere if we enter word larger in size UI should not break as shown in articleissue.png
Comment #5
aditi saraf commentedHere if we enter word larger in size UI should not break as shown in articleissue.png
Comment #6
cilefen commentedPlease can you explain what is broken in that layout? Perhaps a screenshot simulating you suggested solution would assist in understanding this bug report.
I think this is referencing Olivero theme.
Comment #7
andy-blumWhile the example provided here isn't valid, it does highlight a problem that could be experienced with very long words on the mobile layout. For example, if we add a very long german word, we can experience the overflow issue identified here.
By adding the
hyphens: auto;CSS rule, we can get that word to break in a language specific way.Language support depends on browser implementation, which is poor according to MDN, but that information appears to be out-of-date
Comment #8
andy-blumComment #9
harsh commentedPlease review the patch
Comment #10
harsh commentedComment #11
cilefen commentedComment #12
_utsavsharma commentedFixed failures in #9.
Comment #13
Anonymous (not verified) commentedNicolas_Barbarisi made their first commit to this issue’s fork.
Comment #16
andy-blumComment #17
shweta__sharma commentedComment #18
smustgrave commentedFixed up the issue summary to use the correct template, not sure where the original one came from.
MR appears to be addressing the issue, saving credit for @shweta_sharma for the fix.
Comment #19
shweta__sharma commentedComment #20
gauravvvv commentedThe long word issue exists on all text contents in the theme. MR !5621 is only addressing for
.
Comment #21
gauravvvv commentedComment #22
smustgrave commentedPlease provide additional screenshots or steps if we are expanding the scope
Comment #23
gauravvvv commentedWith MR in comment #15

With MR in comment #21

As with #21, scope is for all text contents, it will wrap all words into next line with hyphens.
Comment #24
shweta__sharma commentedAgree with #20 I can confirm that we need to expand the scope of the long text for the other elements. The recent MR has fixed the issue. If we have any long word which is overflowing then the text will wrapped into the next line with hyphens. The changes seem good we can move this to RTBC now.
Thanks
Comment #25
quietone commentedI'm triaging RTBC issues. I read the IS and the comments. I didn't find any unanswered questions or other work to do.
Leaving at RTBC.
Comment #28
nod_Committed 6ec3e26 and pushed to 11.x. Thanks!