Closed (fixed)
Project:
Drupal core
Version:
10.2.x-dev
Component:
Claro theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2023 at 08:13 UTC
Updated:
18 Mar 2024 at 09:49 UTC
Jump to comment: Most recent, Most recent file



Comments
Comment #2
samir_shuklaHi, working on the issue.
Comment #3
samir_shuklaComment #7
swatidhurandhar commentedI have created a MR where I have set the max-height of UI dialog content for workspace module.
Comment #8
sandeep_k commented@swatidhurandhar I have tested the shared patch MR !6019 mergeable I was able to reproduce this issue but was unable to apply the shared patch. Sharing the error here which I was getting while applying the patch.
Comment #9
swatidhurandhar commented@Sandeep_k It is warning not error, the patch is adding the code.
Comment #10
shweta__sharma commentedHi @swatidhurandhar
I tested your Merge request! 6019 and it fixed the issue but there are some warnings you need to check. I think your editor using tab space.
Comment #11
sandeep_k commentedThanks @swatidhurandhar, I have checked & the code is updated.
Testing Steps-
Testing Results
Error is fixed successfully after applying the patch, We can remove the space to fix these warnings as well. Sharing after results. RTBC ++
Comment #12
shweta__sharma commentedAdded code inside the media query as above 767px screen the modal content is working fine so I added media query below 767px
Thanks
Comment #13
kanchan bhogade commentedHi,
I verified and tested MR!6019 on Drupal version- 11.0-dev.
The patch was applied successfully.
Testing Steps:
Testing Results:
Now the modal content text is not cropped and it's fully visible
screenshots added for reference
Moving to RTBC++
Comment #15
gauravvvv commentedInstead of hardcoding a value, we can simply unset the max-height added by JavaScript to resolve the height issue.
I have updated the MR.
Comment #16
divya.sejekan commentedComment #17
divya.sejekan commentedVerified the Issue after the update in the MR . Issue is fixed
Testing Steps:
1. Enable the workspace module.
2. Switch the screen below 768px
3. Click on workspace on the right side.
4. See the modal content text, which gets cropped
5. Download the patch and Apply.
6. Reverify the modal content text for the screen below the 768px.
Testing Results:
The modal content text is not cropped and it's fully visible on or below 768px
screenshots added for reference
Moving to RTBC++
Comment #18
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.
@shweta__sharma, thanks for reporting this problem.
Since this change the UI it should have the latest before and after screenshots linked to in the Issue Summary. That way reviewers and committers can easily find them. The proposed resolution is to remove
max-height: 0px;but that line is not removed in the MR. For this short issue I don't think those points are enough to warrant sending this back to needs work. However, other committers may choose to do so.It really is good practice in Drupal to help reviewers and committers to have the Issue Summary up to date. A complete issue summary is inviting.
Comment #19
shweta__sharma commentedSure @quietone
Updated IS template.
Thanks
Comment #20
nod_I'd very much rather not having to use !important.
Can we avoid this? making the rule more specific could work.
Comment #21
gauravvvv commentedWe're overriding the value of max-height added by JavaScript using !important.
Comment #22
nod_works for me, thanks for the context
Comment #23
nod_Can we add a comment explaining that in the CSS? It'll help future us find out why !important was used.
Comment #25
gauravvvv commentedRestoring status, RTBC as a comment has been added to CSS code.
Comment #30
nod_Committed 00329c2 and pushed to 11.x. Thanks!