1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-13 14:52:22 +04:00

remove bootstrap classes from tom-select

This commit is contained in:
codecalm
2023-03-16 22:54:15 +01:00
parent 46ee74be7b
commit 734633200a
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -65,8 +65,8 @@
var el;
window.TomSelect && ({% if jekyll.environment == 'development' %}window.tabler_select["select-{{ id }}"] = {% endif %}new TomSelect(el = document.getElementById('select-{{ id }}'), {
copyClassesToDropdown: false,
dropdownClass: 'dropdown-menu ts-dropdown',
optionClass:'dropdown-item',
// dropdownClass: 'dropdown-menu ts-dropdown',
// optionClass: 'dropdown-item',
{% unless include.show-search %}
controlInput: '<input>',
+6
View File
@@ -30,3 +30,9 @@ $input-border-width: 1px;
}
}
}
.ts-dropdown {
.option {
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
}
}