Skip to content

Commit

Permalink
Removed unused variable, and renamed $fontSize
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Sep 20, 2022
1 parent f42488b commit ccccbaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}
3 changes: 1 addition & 2 deletions src/assets/layout/styles/layout/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

html {
height: 100%;
font-size: $fontSize;
font-size: $scale;
}

body {
Expand All @@ -25,5 +25,4 @@ a {

.layout-wrapper {
min-height: 100vh;
overflow-x: hidden;
}
6 changes: 3 additions & 3 deletions src/assets/layout/styles/layout/_variables.scss
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit ccccbaa

Please sign in to comment.