From 44f8c093007611c99dd435bf377b88fe8268da15 Mon Sep 17 00:00:00 2001 From: Lukas Kimpel <lukas.kimpel@mni.thm.de> Date: Wed, 7 Mar 2018 11:49:21 +0100 Subject: [PATCH] Add app-component class to create a template-friendly padding to all components --- src/app/app.component.html | 2 +- src/app/app.component.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index b55ce601b..31025d839 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -7,7 +7,7 @@ <!-- Insert navigation module here --> </mat-toolbar-row> </mat-toolbar> - <div fxFlex> + <div fxFlex class="app-component"> <router-outlet></router-outlet> </div> </div> diff --git a/src/app/app.component.scss b/src/app/app.component.scss index c169acb90..c26b99e0b 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1 +1,5 @@ @import '../theme/_variables.scss'; + +.app-component { + padding: 20px; +} -- GitLab