Closed MaoShizhong closed 3 months ago
/lessons/foundations-installations
.Tiny suggestion: Change the link icon positioning from -left-5
to -left-[22px]
(i.e. 2px additional shift to the left). The result is as below, which aligns the icons better IMO.
@KevinMulhern opinion on the extra 2px shift as per the 2nd video? Only a nit but can throw it in if you agree that it looks better
I didn't really see much of a difference @MaoShizhong, it might just be hard to tell from a video. But if you think it aligns better, we should do it.
Classic front end worries :stuck_out_tongue: It's definitely minute but it's me being me and being irked by it.
Because
Currently, all headings'
:hover::before
link icons are absolutely positioned withleft: -1.25rem
. This is completely fine for top-level headings, but for headings in note boxes, ends up looking like the below:It would be nice for the link icon to be more visible on hover. I had difficulty adjusting positioning so all headings' link icons would render left of the full prose contents. Instead, I opted for making the note box icon invisible on heading hover instead.
This PR
Issue
N/A
Additional Information
N/A
Pull Request Requirements
keyword: brief description of change
format, using one of the following keywords:Feature
- adds new or amends existing user-facing behaviorChore
- changes that have no user-facing value, refactors, dependency bumps, etcFix
- bug fixesBecause
section summarizes the reason for this PRThis PR
section has a bullet point list describing the changes in this PRIssue
section