mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-14 09:32:24 +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;
|
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*/
|
/** Actions table cell*/
|
||||||
table tbody td.actions {
|
table tbody td.actions {
|
||||||
width: 130px;
|
width: 130px;
|
||||||
|
|||||||
@ -767,7 +767,7 @@
|
|||||||
hiddenFields = preFilter();
|
hiddenFields = preFilter();
|
||||||
|
|
||||||
if (multiSelect) {
|
if (multiSelect) {
|
||||||
var $th = $('<th>').appendTo($thead.find('tr'));
|
var $th = $('<th>').addClass('multiselect').appendTo($thead.find('tr'));
|
||||||
var content = $('<input>')
|
var content = $('<input>')
|
||||||
.attr('type', 'checkbox')
|
.attr('type', 'checkbox')
|
||||||
.addClass('multiSelectMasterCheckbox')
|
.addClass('multiSelectMasterCheckbox')
|
||||||
@ -1054,7 +1054,8 @@
|
|||||||
|
|
||||||
if (multiSelect) {
|
if (multiSelect) {
|
||||||
var $td = $('<td>')
|
var $td = $('<td>')
|
||||||
.appendTo($tr);
|
.addClass('multiselect')
|
||||||
|
.appendTo($tr);
|
||||||
var content = $('<input>')
|
var content = $('<input>')
|
||||||
.attr('type', 'checkbox')
|
.attr('type', 'checkbox')
|
||||||
.addClass('multiSelectCheckbox')
|
.addClass('multiSelectCheckbox')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user