Closed ihalaij1 closed 7 months ago
Padding was added to the sticky alerts in PR https://github.com/apluslms/a-plus/pull/1219.
This is so that the alert does not hide the information that the anchor link points to. This should probably use margin-top instead of padding-top, since links to exercises now result in a weird exercise frame UI bug after scrolling up:
margin-top
padding-top
Example link: https://plus.cs.aalto.fi/y2/2022/materials_k04/k04_softwaretesting_testing/#chapter-exercise-2
Padding was added to the sticky alerts in PR https://github.com/apluslms/a-plus/pull/1219.
This is so that the alert does not hide the information that the anchor link points to. This should probably use
margin-top
instead ofpadding-top
, since links to exercises now result in a weird exercise frame UI bug after scrolling up:Example link: https://plus.cs.aalto.fi/y2/2022/materials_k04/k04_softwaretesting_testing/#chapter-exercise-2