mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-04-16 22:24:49 +00:00
[ADF-1846] Fix IE11, add material typography, remove design lite (#2570)
* IE11 vertical centering fix * Material design way of typography * Remove material design lite from demo shell
This commit is contained in:
committed by
Eugenio Romano
parent
3240929dd3
commit
641c382711
@@ -16,12 +16,7 @@
|
||||
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
@include mat-core();
|
||||
|
||||
$custom-typography: mat-typography-config(
|
||||
$font-family: 'Muli, Roboto, "Helvetica Neue", sans-serif'
|
||||
);
|
||||
@include angular-material-typography($custom-typography);
|
||||
@include mat-core($alfresco-typography);
|
||||
|
||||
$primary: mat-palette($alfresco-accent-orange);
|
||||
$accent: mat-palette($alfresco-accent-purple);
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
.mat-form-field input.mat-input-element {
|
||||
line-height: normal;
|
||||
}
|
||||
@import '~@angular/material/theming';
|
||||
@import './custom-style.scss';
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
font-family: 'Muli', "Helvetica", "Arial", sans-serif !important;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
font-size: mat-font-size($alfresco-typography, body-1);
|
||||
font-family: mat-font-family($alfresco-typography);
|
||||
line-height: mat-line-height($alfresco-typography, body-1);
|
||||
}
|
||||
Reference in New Issue
Block a user