From 4b1f9013ad16d49295c4d7aa60bf1a6ece1e2a0e Mon Sep 17 00:00:00 2001 From: Dennis Salzmann Date: Sun, 25 Aug 2024 20:33:38 +0200 Subject: [PATCH] upd: add project description & change the components html --- src/app/portfolio/projects/projects.component.css | 2 +- .../portfolio/projects/projects.component.html | 6 +++--- src/assets/json/projects.json | 15 +++++++++++++-- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/app/portfolio/projects/projects.component.css b/src/app/portfolio/projects/projects.component.css index 3dd26ca..16bbd21 100644 --- a/src/app/portfolio/projects/projects.component.css +++ b/src/app/portfolio/projects/projects.component.css @@ -8,7 +8,7 @@ } .project-title { - white-space: nowrap; + white-space: wrap; overflow: hidden; text-overflow: ellipsis; max-width: 20ch; diff --git a/src/app/portfolio/projects/projects.component.html b/src/app/portfolio/projects/projects.component.html index fc0de75..35e6904 100644 --- a/src/app/portfolio/projects/projects.component.html +++ b/src/app/portfolio/projects/projects.component.html @@ -7,7 +7,7 @@

-
+
{{project.name}}
@@ -17,10 +17,10 @@

{{project.description}}

-