See the top-border is being applied to first element
Go to download course from http://localhost:3000/, see the borders are being applied on lists there
Another good example of a course is 18.06sc-fall-2011. Run it locally, go to Download Course. From there see the lists that have "See all" option, click it, and see the lists still have consistent styling.
For offline course theme, run:
yarn build ~/path/ocw-content-rc/3.020-spring-2021/ ~/path/ocw-hugo-projects/ocw-course-v2/config-offline.yaml
And then open index.html from dist directory of the course.
What are the relevant tickets?
No ticket
Description (What does it do?)
Fixes
border-top
styling not being applied to resource lists. For example: https://ocw.mit.edu/courses/21a-505j-the-anthropology-of-sound-spring-2022/lists/lecture-slides/ https://draft.ocw.mit.edu/courses/3-020-thermodynamics-of-materials-spring-2021/lists/problem-sets/It should be like the lists here: https://ocw.mit.edu/courses/res-18-010-a-2020-vision-of-linear-algebra-spring-2020/download/
Screenshots (Before & After):
How can this be tested?
yarn start course 21A.505J-spring-2022
18.06sc-fall-2011
. Run it locally, go to Download Course. From there see the lists that have "See all" option, click it, and see the lists still have consistent styling.For offline course theme, run:
yarn build ~/path/ocw-content-rc/3.020-spring-2021/ ~/path/ocw-hugo-projects/ocw-course-v2/config-offline.yaml
And then openindex.html
fromdist
directory of the course.