Index: static/scss/components/_lists.scss |
=================================================================== |
--- a/static/scss/components/_lists.scss |
+++ b/static/scss/components/_lists.scss |
@@ -30,17 +30,29 @@ |
color: $accent; |
} |
.underlined-list li:last-child a |
{ |
border-bottom: none; |
} |
-// For underlined lists split into two columns, add a border-top |
+// For underlined lists that split into two columns, remove the |
+// border-bottom from the 2nd-to-last item on larger screens |
+// (when expanded to two columns) |
+ |
+.underlined-list .one-half:nth-last-child(2) a |
+{ |
+ @media (min-width: $tablet-breakpoint) |
+ { |
+ border-bottom: none; |
+ } |
+} |
+ |
+// For underlined lists that split into two columns, add a border-top |
// to the first 2 children on larger screens, and only the first |
// child on smaller screens (when collapsed to one column) |
.underlined-list .one-half:nth-child(1) a |
{ |
border-top: 1px dotted $gray; |
} |