ER: Fix credits text alignment #5938
Labels
Complexity: Medium
Complexity: See issue making label
See the Issue Making label to understand the issue writing difficulty level
Dependency
An issue is blocking the completion or starting of another issue
ER
Emergent Request
Issue Making: Level 2
Make issue(s) from an ER or Epic
manual dependency release
P-Feature: Credit
https://www.hackforla.org/credits/
role: back end/devOps
Tasks for back-end developers
role: front end
Tasks for front end developers
size: 0.25pt
Can be done in 0.5 to 1.5 hours
Milestone
Dependency
Emergent Requirement - Problem
On the Credits page, we may want to remove the Provider field from some credits for composite images but removing a field may cause some alignment issues.
To test what it would look like if there was no Provider field for some of the credits, I temporarily removed the Provider field from the following credits:
The result was it recenters the text vertically and doesn't look good because, in desktop view, the tops of each credit's text are not aligned with each other (i.e. Agile and Avatar credits; Calendar Time and Candidates).
Click here to see a screenshot marked up with red horizontal lines showing how the tops of the texts for Agile and Avatar credits and the tops of the texts for Calendar Time and Candidates are not aligned.
For reference, here are full-page screenshots of the Provider field removed from some of the credits:
Click to see desktop view
Click to see mobile view
Issue you discovered this emergent requirement in
Date discovered
May 9, 2023
Did you have to do something temporarily
Who was involved
@JessicaLucindaCheng
@ExperimentsInHonesty
What happens if this is not addressed
If the Provider field is removed, the credits text is recentered vertically and doesn't look good.
Resources
Recommended Action Items
Potential solutions [draft]
Align each credit's text so it starts at the top of its flex container for each credit, add
align-self: flex-start;
to the.icon-info
class in _sass/components/_credit-items.scss.Here are screenshots of what adding
align-self: flex-start;
to the.icon-info
class would look likeClick here to see desktop view
Click here to see mobile view
The text was updated successfully, but these errors were encountered: