From: Geoff Kimball Date: Thu, 21 Jan 2016 17:35:24 +0000 (-0800) Subject: On accordions, remove double border at the bottom, and prevent a border from disappea... X-Git-Tag: v6.1.2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87e5962c89ae0f3a5dfb56f2dfb2ab97c4a85efb;p=thirdparty%2Ffoundation%2Ffoundation-sites.git On accordions, remove double border at the bottom, and prevent a border from disappearing when the last pane is open, fixes #7938 --- diff --git a/scss/components/_accordion.scss b/scss/components/_accordion.scss index 044a0b6b3..1fb1ebee3 100644 --- a/scss/components/_accordion.scss +++ b/scss/components/_accordion.scss @@ -47,6 +47,7 @@ $accordion-content-padding: 1rem !default; list-style-type: none; background: $accordion-background; border: $accordion-content-border; + border-bottom: 0; border-radius: $global-radius; margin-#{$global-left}: 0; } @@ -66,11 +67,6 @@ $accordion-content-padding: 1rem !default; background-color: $accordion-item-background-hover; } - // Remove the border on the last title - :last-child > & { - border-bottom-width: 0; - } - @if $accordion-plusminus { &::before { content: '+';