Removed unused variable, and renamed $fontSize
This commit is contained in:
parent
f42488b60d
commit
ccccbaa0be
@ -6,12 +6,9 @@ import { PrimeNGConfig } from 'primeng/api';
|
|||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
|
|
||||||
menuMode = 'static';
|
|
||||||
|
|
||||||
constructor(private primengConfig: PrimeNGConfig) { }
|
constructor(private primengConfig: PrimeNGConfig) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.primengConfig.ripple = true;
|
this.primengConfig.ripple = true;
|
||||||
document.documentElement.style.fontSize = '14px';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: $fontSize;
|
font-size: $scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -25,5 +25,4 @@ a {
|
|||||||
|
|
||||||
.layout-wrapper {
|
.layout-wrapper {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
/* General */
|
/* General */
|
||||||
$fontSize:10px;
|
$scale:14px; /* main font size */
|
||||||
$borderRadius:12px;
|
$borderRadius:12px; /* border radius of layout element e.g. card, sidebar */
|
||||||
$transitionDuration:.2s;
|
$transitionDuration:.2s; /* transition duration of layout elements e.g. sidebar, overlay menus */
|
||||||
|
Loading…
Reference in New Issue
Block a user