Fix misalignment of copy failure retry CTA#4319
Fix misalignment of copy failure retry CTA#4319bjester merged 2 commits intolearningequality:hotfixesfrom
Conversation
|
@bjester using line-height won't help in my opinion. I tried setting bottom padding to 2px and 5.5px. I'll show you the results. I can push the changes with whatever value looks fine to you. I'd prefer the second one personally. |
Changing the
The two bits of text should appear as if it's sitting on an imaginary baseline, with the underline underneath that baseline. The 2px option looks closest to that |
|
@bjester I have pushed the changes. Thanks for your help with everything : ) |
|
Thanks @KshitijThareja ! |
|
Hi @KshitijThareja is there a way for me to manually test and replicate this on hotfixes? |
|
Hi @pcenov! To replicate this on hotfixes, just raise a validation error inside the try block here: studio/contentcuration/contentcuration/viewsets/contentnode.py Lines 935 to 938 in 91dfec0 Now if you try to copy resources in a channel, you'll be able to replicate the Copy Failure error. |





Summary
Description of the change(s) you made
This PR aims to fix the misalignment of copy failure retry action which is triggered when the copy operation is unsuccessful in copying a node(s).
Manual verification steps performed
To generate copy error state on the frontend, I raised an exception from the backend copy function. The verification steps I performed:
Screenshots
Before:
After fixing the issue:
Does this introduce any tech-debt items?
No. It was just a simple frontend CSS fix.
References
Closes #4272
Comments
The CSS fix works fine for all devices.
Contributor's Checklist
PR process:
CHANGELOGlabel been added to this PR. Note: items with this label will be added to the CHANGELOG at a later timedocslabel has been added if this introduces a change that needs to be updated in the user docs?requirements.txtfiles also included in this PRStudio-specifc:
notranslateclass been added to elements that shouldn't be translated by Google Chrome's automatic translation feature (e.g. icons, user-generated text)pages,components, andlayoutsdirectories as described in the docsTesting:
Reviewer's Checklist
This section is for reviewers to fill out.
yarnandpip)