Removed unused variable, and renamed $fontSize

This commit is contained in:
Cagatay Civici 2022-09-20 23:23:46 +03:00
parent f42488b60d
commit ccccbaa0be
3 changed files with 4 additions and 8 deletions

View File

@ -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';
} }
} }

View File

@ -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;
} }

View File

@ -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 */