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 {
|
||||
|
||||
menuMode = 'static';
|
||||
|
||||
constructor(private primengConfig: PrimeNGConfig) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.primengConfig.ripple = true;
|
||||
document.documentElement.style.fontSize = '14px';
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
font-size: $fontSize;
|
||||
font-size: $scale;
|
||||
}
|
||||
|
||||
body {
|
||||
@ -25,5 +25,4 @@ a {
|
||||
|
||||
.layout-wrapper {
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
/* General */
|
||||
$fontSize:10px;
|
||||
$borderRadius:12px;
|
||||
$transitionDuration:.2s;
|
||||
$scale:14px; /* main font size */
|
||||
$borderRadius:12px; /* border radius of layout element e.g. card, sidebar */
|
||||
$transitionDuration:.2s; /* transition duration of layout elements e.g. sidebar, overlay menus */
|
||||
|
Loading…
Reference in New Issue
Block a user