Skip to content

Commit d5ffe01

Browse files
author
Allan Jardine
committed
Fix: Better Foundation 6 integration. Dropdown shows as a vertical list and active state is different from not
1 parent 2152b5a commit d5ffe01

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

css/buttons.foundation.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ div.button-group.stacked.dropdown-pane {
6060
z-index: 89;
6161

6262
a.button {
63+
display: block;
6364
margin-bottom: 1px;
6465
border-right: none;
6566

6667
&:last-child {
6768
margin-bottom: 0;
69+
margin-right: 1px;
6870
}
6971
}
7072
}

js/buttons.foundation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ $.extend( true, DataTable.Buttons.defaults, {
7070
},
7171
button: {
7272
tag: 'a',
73-
className: 'button small'
73+
className: 'button small',
74+
active: 'secondary'
7475
},
7576
buttonLiner: {
7677
tag: null

0 commit comments

Comments
 (0)