Hi all I modify my select2 with this code
.select2-selection {
height: 200px!important;
}
however I do not want to modify select2 that are inside my datatable plugin. From inspecting the element I notice that the select2 in datatable was under the th span span select2-selection .
So I tired this code to change all select2 height that are not in tr tag but it is still changing the height of the select2 in the datatable.
How do I make it only change the height that are not in a table? Much help would be appreciated
:not(th) > .select2-selection {
height: 100px!important;
}
also tried
:not(th) .select2-selection {
height: 100px!important;
}