mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[AAE-49015] - Removing and replacing mat-selectors
This commit is contained in:
+3
-1
@@ -13,7 +13,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
#{ms.$mat-form-field} {
|
||||
// Material form-field is display:inline-flex; force full width. Element selector
|
||||
// targets ADF's own <mat-form-field> without the Material internal class.
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
||||
& #{ms.$mat-card} {
|
||||
& mat-card {
|
||||
padding: 16px 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -59,9 +59,9 @@
|
||||
border-bottom: unset;
|
||||
opacity: 1;
|
||||
|
||||
&#{ms.$mat-tab-label} {
|
||||
flex-grow: 1;
|
||||
}
|
||||
// No Material rule sets flex-grow on the individual tab, so the ADF class alone
|
||||
// is enough — the .mat-mdc-tab compound was redundant specificity.
|
||||
flex-grow: 1;
|
||||
|
||||
&:has(span) {
|
||||
height: 32px;
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
$mat-icon: '.mat-icon';
|
||||
$mat-tab-label: '.mat-mdc-tab';
|
||||
$mat-tab-label-text: '.mdc-tab__text-label';
|
||||
$mat-tab-body-content: '.mat-mdc-tab-body-content';
|
||||
$mat-checkbox-label: '.mdc-label';
|
||||
$mat-button: '.mat-mdc-button';
|
||||
$mat-button-label: '.mdc-button__label';
|
||||
$mat-form-field: '.mat-mdc-form-field';
|
||||
$mat-form-field-wrapper: '.mat-mdc-text-field-wrapper';
|
||||
$mat-line-ripple: '.mdc-line-ripple';
|
||||
$mat-form-field-label: '.mat-mdc-floating-label';
|
||||
$mat-card: '.mat-mdc-card';
|
||||
$mat-select: '.mat-mdc-select';
|
||||
$mat-sidenav-content: '.mat-sidenav-content';
|
||||
$mat-drawer-transition: '.mat-drawer-transition';
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
||||
& #{ms.$mat-card} {
|
||||
& mat-card {
|
||||
padding: 16px 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
@use '../../../styles/mat-selectors' as ms;
|
||||
|
||||
.adf-attach-form {
|
||||
#{ms.$mat-form-field} {
|
||||
// Material form-field is display:inline-flex; force full width via the element selector.
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
+2
-3
@@ -1,5 +1,3 @@
|
||||
@use '../../../styles/mat-selectors' as ms;
|
||||
|
||||
:host {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -8,7 +6,8 @@
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
#{ms.$mat-form-field} {
|
||||
// Material form-field is display:inline-flex; force full width via the element selector.
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user