Stepped lists grid is broken in small screens
carkod opened this issue · comments
Describe the bug
Grid extends incorrectly in small screens.
To Reproduce
Steps to reproduce the behavior:
- Go to this codepen with the Vanilla https://codepen.io/carkod/pen/mdovJWr
- Make the screen "mobile sized" ($breakpoint-small)
- Use the inspector tool as below
So as you can see if you turn on the grid button on any li
element, the grid overlaps at the end.
Expected behavior
Grid should take have less span. Take a look at this quick fix
Stepped list detailed seems to always use 6 column span for p-stepped-list__title
(it seems that __content
is using 4 columns on mobile, as expected).