File tree 1 file changed +24
-16
lines changed
1 file changed +24
-16
lines changed Original file line number Diff line number Diff line change 277
277
//
278
278
279
279
.accordion {
280
- .card :not (:first-of-type ):not (:last-of-type ) {
281
- border-bottom : 0 ;
282
- border-radius : 0 ;
283
- }
280
+ .card {
281
+ overflow : hidden ;
282
+
283
+ & :not (:first-of-type ) {
284
+ .card-header :first-child {
285
+ border-radius : 0 ;
286
+ }
284
287
285
- .card :not (:first-of-type ) {
286
- .card-header :first-child {
287
- border-radius : 0 ;
288
+ & :not (:last-of-type ) {
289
+ border-bottom : 0 ;
290
+ border-radius : 0 ;
291
+ }
288
292
}
289
- }
290
293
291
- .card :first-of-type {
292
- border-bottom : 0 ;
293
- border-bottom-right-radius : 0 ;
294
- border-bottom-left-radius : 0 ;
295
- }
294
+ & :first-of-type {
295
+ border-bottom : 0 ;
296
+ border-bottom-right-radius : 0 ;
297
+ border-bottom-left-radius : 0 ;
298
+ }
296
299
297
- .card :last-of-type {
298
- border-top-left-radius : 0 ;
299
- border-top-right-radius : 0 ;
300
+ & :last-of-type {
301
+ border-top-left-radius : 0 ;
302
+ border-top-right-radius : 0 ;
303
+ }
304
+
305
+ .card-header {
306
+ margin-bottom : - $card-border-width ;
307
+ }
300
308
}
301
309
}
You can’t perform that action at this time.
0 commit comments