mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5314] Data table row should be clickable anywhere (#8671)
* [ACS-5314] bug fix * [ACS-5314] empty commit * rebase * [ACS-5314] rebase * [ACS-5314] fixed multiselect on checkbox * [ACS-5314] fixed checkbox selector for e2e
This commit is contained in:
committed by
GitHub
parent
a933070fc3
commit
2f3f5ae02b
@@ -192,7 +192,7 @@
|
||||
</mat-menu>
|
||||
</div>
|
||||
|
||||
<div *ngIf="multiselect" class="adf-datatable-cell adf-datatable-checkbox">
|
||||
<label *ngIf="multiselect" class="adf-datatable-cell adf-datatable-checkbox">
|
||||
<mat-checkbox
|
||||
[checked]="row.isSelected"
|
||||
[attr.aria-checked]="row.isSelected"
|
||||
@@ -201,7 +201,7 @@
|
||||
class="adf-checkbox-sr-only">
|
||||
{{ 'ADF-DATATABLE.ACCESSIBILITY.SELECT_FILE' | translate }}
|
||||
</mat-checkbox>
|
||||
</div>
|
||||
</label>
|
||||
<div *ngFor="let col of (data.getColumns() | filterOutEvery:'isHidden':true);"
|
||||
role="gridcell"
|
||||
class="adf-datatable-cell adf-datatable-cell--{{col.type || 'text'}} {{col.cssClass}}"
|
||||
|
@@ -296,8 +296,6 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width !default;
|
||||
.adf-datatable-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
|
||||
.adf-datatable-checkbox {
|
||||
max-width: $data-table-thumbnail-width;
|
||||
@@ -385,6 +383,16 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width !default;
|
||||
display: flex;
|
||||
min-height: inherit;
|
||||
|
||||
&:first-child {
|
||||
padding-left: 15px;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
padding-right: 15px;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.adf-datatable-cell-container {
|
||||
overflow: hidden;
|
||||
min-height: inherit;
|
||||
|
Reference in New Issue
Block a user