From 583e38adfc25e8811da4edf544ea561f2246ba65 Mon Sep 17 00:00:00 2001 From: DerTyp7 Date: Tue, 26 Sep 2023 16:12:32 +0200 Subject: [PATCH] try caching image svgs --- angular.json | 8 -------- src/app/analyze/analyze.component.scss | 20 +++++++++----------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/angular.json b/angular.json index a626be6..2e33a6b 100644 --- a/angular.json +++ b/angular.json @@ -32,14 +32,6 @@ }, "configurations": { "production": { - "assets": [ - "src/favicon.ico", - { - "glob": "**/*", - "input": "src/assets", - "output": "/local-analyzer-angular/assets" - } - ], "budgets": [ { "type": "initial", diff --git a/src/app/analyze/analyze.component.scss b/src/app/analyze/analyze.component.scss index 42ead80..e08ccc7 100644 --- a/src/app/analyze/analyze.component.scss +++ b/src/app/analyze/analyze.component.scss @@ -1,19 +1,18 @@ -h5{ +h5 { padding-top: 30px; text-align: center; } -.result-container{ +.result-container { padding-top: 30px; width: 700px; - - .result-container-pta{ + .result-container-pta { height: 100px; border-bottom: 1px solid rgb(63, 63, 63); } - .pta-circle{ + .pta-circle { width: 65px; height: 65px; border-radius: 50%; @@ -28,7 +27,7 @@ h5{ background-repeat: no-repeat; background-position: center; - .pta-circle-text{ + .pta-circle-text { margin-top: 85px; font-size: 10pt; font-weight: bold; @@ -36,14 +35,13 @@ h5{ } } - .pta-circle-true{ + .pta-circle-true { border-color: rgb(76, 231, 140); - background-image: url('/assets/images/tick.svg'); + background-image: url("../../assets/images/tick.svg"); } - .pta-circle-false{ + .pta-circle-false { border-color: rgb(209, 39, 39); - background-image: url('/assets/images/cross.svg'); + background-image: url("../../assets/images/cross.svg"); } - }