- Issue created by @shweta__sharma
- Assigned to samir_shukla
- Issue was unassigned.
- First commit to issue fork.
- ๐ฎ๐ณIndia swatidhurandhar
swatidhurandhar โ made their first commit to this issueโs fork.
- Merge request !60193409640 setting height of dialog content in workspace module โ (Closed) created by swatidhurandhar
- Status changed to Needs review
12 months ago 8:45am 4 January 2024 - ๐ฎ๐ณIndia swatidhurandhar
I have created a MR where I have set the max-height of UI dialog content for workspace module.
- ๐ฎ๐ณIndia Sandeep_k New Delhi
@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.
- ๐ฎ๐ณIndia swatidhurandhar
@Sandeep_k It is warning not errors, the patch is adding the code.
Hi @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.
core/6019.patch.txt:36: tab in indent. .ui-dialog { core/6019.patch.txt:37: tab in indent. .ui-dialog-content { core/6019.patch.txt:38: tab in indent. max-height: 5rem !important; core/6019.patch.txt:39: tab in indent. } core/6019.patch.txt:40: tab in indent. } Checking patch core/modules/workspaces/css/workspaces.off-canvas.css... Checking patch core/modules/workspaces/css/workspaces.off-canvas.pcss.css... Checking patch core/modules/workspaces/css/workspaces.off-canvas.pcss.css... Checking patch core/modules/workspaces/css/workspaces.off-canvas.pcss.css... Applied patch core/modules/workspaces/css/workspaces.off-canvas.css cleanly. Applied patch core/modules/workspaces/css/workspaces.off-canvas.pcss.css cleanly. Applied patch core/modules/workspaces/css/workspaces.off-canvas.pcss.css cleanly. Applied patch core/modules/workspaces/css/workspaces.off-canvas.pcss.css cleanly. warning: squelched 2 whitespace errors warning: 7 lines add whitespace errors.
- ๐ฎ๐ณIndia Sandeep_k New Delhi
Thanks @swatidhurandhar, I have checked & the code is updated.
Testing Steps-- Enable the workspace module.
- Download & apply the patch.
- Switch the screen below 768px
- Click on workspace on the right side & change the workspace.
- Reverify the modal content text.
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 ++ Added code inside the media query as above 767px screen the modal content is working fine so I added media query below 767px
Thanks- ๐ฎ๐ณIndia Kanchan Bhogade
Hi,
I verified and tested MR!6019 on Drupal version- 11.0-dev.
The patch was applied successfully.Testing Steps:
- Set up Drupal 11.
- Enable the workspace module.
- Switch the screen below 768px
- Click on workspace on the right side.
- See the modal content text, which gets cropped
- Download the patch and Apply.
- Reverify the modal content text for the screen below the 768px.
Testing Results:
Now the modal content text is not cropped and it's fully visible
screenshots added for referenceMoving to RTBC++
- First commit to issue fork.
- ๐ฎ๐ณIndia gauravvvv Delhi, India
Instead of hardcoding a value, we can simply unset the max-height added by JavaScript to resolve the height issue.
I have updated the MR.
- Assigned to divya.sejekan
- Issue was unassigned.
- Status changed to RTBC
12 months ago 7:49am 8 January 2024 - ๐ฎ๐ณIndia divya.sejekan
Verified 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 referenceMoving to RTBC++
- ๐ณ๐ฟNew Zealand quietone
I'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.
- Status changed to Needs work
10 months ago 4:22pm 27 February 2024 - ๐ซ๐ทFrance nod_ Lille
I'd very much rather not having to use !important.
Can we avoid this? making the rule more specific could work.
- ๐ฎ๐ณIndia gauravvvv Delhi, India
We're overriding the value of max-height added by JavaScript using !important.
- Status changed to RTBC
10 months ago 9:58pm 29 February 2024 - Status changed to Needs work
10 months ago 9:59pm 29 February 2024 - ๐ซ๐ทFrance nod_ Lille
Can we add a comment explaining that in the CSS? It'll help future us find out why !important was used.
- ๐ฎ๐ณIndia mithun s Bangalore
Mithun S โ made their first commit to this issueโs fork.
- Status changed to RTBC
10 months ago 3:55am 4 March 2024 - ๐ฎ๐ณIndia gauravvvv Delhi, India
Restoring status, RTBC as a comment has been added to CSS code.
- Status changed to Fixed
10 months ago 9:49am 4 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.