Skip to content

Instantly share code, notes, and snippets.

View adil62's full-sized avatar
🏠
Working from home

Adil Ismail adil62

🏠
Working from home
View GitHub Profile
@luisciphere
luisciphere / Bootstrap Table CSS
Last active August 29, 2023 06:06
Bootstrap tables only css
.table {
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
}
.table th,
.table td {
padding: 0.75rem;
vertical-align: top;
@bhaireshm
bhaireshm / addButtonToSelect2Dropdown.js
Created December 16, 2020 16:00
Add button to select2 dropdown
/**
* @param className - class name of the select tag (you can change to id)
* @param text - content for the link
*/
function addBtnToDropdown(className, text) {
var flg = 0;
$(`.${className}`).on("select2:open", function () {
flg++;
if (flg == 1) {