Open aalear opened 4 years ago
This issue also applies to rows as well. I'm not sure how we can avoid this, since :first-child
is working as designed. 🤔
Related, there's a similar problem if the first or last item in a s-btn-group
is hidden. (No corner radii.)
Describe the bug Hiding the first or the last column in a table with only horizontal borders (
.s-table__bx
) viasm:d-none
results in the outer border of the table going AWOL on the corresponding side.To Reproduce Markup:
Toss that into a CodePen or similar, and then resize the window down.
Expected behavior The outer table border should not disappear.
Screenshots Before resizing:![image](https://user-images.githubusercontent.com/361657/62086698-37be4680-b22d-11e9-9cb5-f0be28625b5d.png)
After resizing:![image](https://user-images.githubusercontent.com/361657/62086758-5cb2b980-b22d-11e9-97b8-b2c978a34585.png)
Desktop (please complete the following information):
Additional context The workaround is to add the
sm:bl bc-black-3 brw0
classes to the second column of the table (blw0
for the penultimate column).