mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-14 01:22:28 +01:00
Multiselect: Fix size and alignment on select column
This commit is contained in:
parent
b4b34edf15
commit
f930ccda99
@ -173,6 +173,23 @@ table tbody td.truncated > span {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/** Multiselect*/
|
||||
table thead th.multiselect,
|
||||
table tbody td.multiselect {
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
max-width: 40px;
|
||||
}
|
||||
|
||||
table thead th.multiselect input,
|
||||
table tbody td.multiselect input {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table thead th.multiselect input {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
/** Actions table cell*/
|
||||
table tbody td.actions {
|
||||
width: 130px;
|
||||
|
||||
@ -767,7 +767,7 @@
|
||||
hiddenFields = preFilter();
|
||||
|
||||
if (multiSelect) {
|
||||
var $th = $('<th>').appendTo($thead.find('tr'));
|
||||
var $th = $('<th>').addClass('multiselect').appendTo($thead.find('tr'));
|
||||
var content = $('<input>')
|
||||
.attr('type', 'checkbox')
|
||||
.addClass('multiSelectMasterCheckbox')
|
||||
@ -1054,7 +1054,8 @@
|
||||
|
||||
if (multiSelect) {
|
||||
var $td = $('<td>')
|
||||
.appendTo($tr);
|
||||
.addClass('multiselect')
|
||||
.appendTo($tr);
|
||||
var content = $('<input>')
|
||||
.attr('type', 'checkbox')
|
||||
.addClass('multiSelectCheckbox')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user