mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
fixed permission row height
This commit is contained in:
parent
23f90a31ef
commit
58010adabc
@ -3,8 +3,9 @@
|
|||||||
.adf-role-selector-field#{$mat-form-field} {
|
.adf-role-selector-field#{$mat-form-field} {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
|
|
||||||
#{$mat-form-field-flex} {
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
|
#{$mat-form-field-infix}:not(:disabled) {
|
||||||
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
|
import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, ViewEncapsulation } from '@angular/core';
|
||||||
import { RoleModel } from '../../models/role.model';
|
import { RoleModel } from '../../models/role.model';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||||
@ -32,7 +32,7 @@ export interface RoleModelOption {
|
|||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [CommonModule, MatFormFieldModule, MatSelectModule, TranslateModule],
|
imports: [CommonModule, MatFormFieldModule, MatSelectModule, TranslateModule],
|
||||||
template: `
|
template: `
|
||||||
<mat-form-field class="adf-role-selector-field" *ngIf="!readonly">
|
<mat-form-field class="adf-role-selector-field" *ngIf="!readonly" subscriptSizing="dynamic">
|
||||||
<mat-select
|
<mat-select
|
||||||
class="adf-role-selector"
|
class="adf-role-selector"
|
||||||
(click)="$event.stopPropagation()"
|
(click)="$event.stopPropagation()"
|
||||||
@ -52,6 +52,7 @@ export interface RoleModelOption {
|
|||||||
{{ i18nValue | translate }}
|
{{ i18nValue | translate }}
|
||||||
</span>
|
</span>
|
||||||
`,
|
`,
|
||||||
|
encapsulation: ViewEncapsulation.None,
|
||||||
host: { class: 'adf-user-role-column adf-datatable-content-cell adf-expand-cell-4' },
|
host: { class: 'adf-user-role-column adf-datatable-content-cell adf-expand-cell-4' },
|
||||||
styleUrls: ['./user-role-column.component.scss']
|
styleUrls: ['./user-role-column.component.scss']
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user