From df3037c4e75d1d6ff736b564bf37765dcf64533f Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 26 Feb 2021 19:32:46 -0500 Subject: [PATCH 1/2] don't screw around with the main material theme. --- src/app/app.component.html | 4 +--- src/app/app.component.scss | 3 --- src/app/graphs/graphs.component.css | 5 +++++ src/material-theme.scss | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 8fa0e27..f3e33c7 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,8 +1,6 @@
-
- -
+
diff --git a/src/app/app.component.scss b/src/app/app.component.scss index de16c7d..e69de29 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1,3 +0,0 @@ -.content { - padding-top: 64px; -} diff --git a/src/app/graphs/graphs.component.css b/src/app/graphs/graphs.component.css index 28b3125..533dd69 100644 --- a/src/app/graphs/graphs.component.css +++ b/src/app/graphs/graphs.component.css @@ -6,6 +6,11 @@ justify-content: space-between; } +mat-form-field, .mat-form-field, .mat-form-field-should-float label { + font-size: 1em; +} + + mat-card { margin: 20px; } diff --git a/src/material-theme.scss b/src/material-theme.scss index 5a37cac..c1fb42a 100644 --- a/src/material-theme.scss +++ b/src/material-theme.scss @@ -16,6 +16,7 @@ body { margin: 0; + padding-top: $header-height; } app-navbar { @@ -323,7 +324,7 @@ mat-form-field { &.mat-form-field, &.mat-form-field-should-float label { - font-size: 1.2em; + font-size: 20px; } } From 90071ab40eba9140ae83c25cc9d4833d588ec857 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 26 Feb 2021 19:39:59 -0500 Subject: [PATCH 2/2] Removing the only other globally applied style changes I could find. --- src/app/graphs/graphs.component.css | 3 +++ src/styles.scss | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/graphs/graphs.component.css b/src/app/graphs/graphs.component.css index 533dd69..f79327e 100644 --- a/src/app/graphs/graphs.component.css +++ b/src/app/graphs/graphs.component.css @@ -25,3 +25,6 @@ body { flex: 2; } +table { + width: 100%; +} diff --git a/src/styles.scss b/src/styles.scss index 3e5fbda..8f90dc6 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,5 +1,3 @@ @import './material-theme.scss'; @include cr-connect-theme($cr-connect-theme); -table { - width: 100%; - } \ No newline at end of file +