fix firefox checkbox style

This commit is contained in:
yuri
2017-04-18 12:06:50 +03:00
parent 3b8b9e392e
commit 102886e23d
3 changed files with 18 additions and 5 deletions

View File

@@ -42,8 +42,7 @@
<thead>
<tr>
{{#if checkboxes}}
<th width="40">
<input type="checkbox" class="select-all">
<th width="40" data-name="r-checkbox">
{{#unless checkAllResultDisabled}}
<div class="btn-group checkbox-dropdown">
<a class="btn btn-link btn-sm dropdown-toggle" data-toggle="dropdown">
@@ -54,6 +53,7 @@
</ul>
</div>
{{/unless}}
<div class="select-all-container"><input type="checkbox" class="select-all"></div>
</th>
{{/if}}
{{#each headerDefs}}

View File

@@ -845,7 +845,7 @@ Espo.define('views/record/list', 'view', function (Dep) {
if (this.checkboxes) {
layout.push({
name: 'checkbox',
name: 'r-checkbox',
template: 'record.list-checkbox'
});
}

View File

@@ -122,8 +122,7 @@ div.list-expanded > ul > li > div.expanded-row > .cell:first-child {
.list .checkbox-dropdown {
margin-right: -10px;
top: 1px;
margin-top: -2px;
float: right;
}
.list .checkbox-dropdown > a {
@@ -696,6 +695,20 @@ table.list th {
overflow: hidden;
}
.list > table td[data-name="r-checkbox"] {
overflow: visible;
}
.list > table th[data-name="r-checkbox"] {
white-space: nowrap;
.select-all-container {
line-height: @line-height-base;
height: unit(@line-height-base, em);
}
}
.list > table td > div.field {
white-space: normal;
}