From 892e5dc224f02d8c8c1cd90115f0c2b300a22867 Mon Sep 17 00:00:00 2001 From: Max Ehrlicher-Schmidt Date: Sat, 19 Sep 2020 13:51:58 +0200 Subject: [PATCH] Change bikes table --- src/app/app.component.html | 2 - .../pages/tables/bikes/bikes.component.html | 39 ++++++++++++------- .../pages/tables/bikes/bikes.component.scss | 6 +++ src/app/pages/tables/bikes/bikes.component.ts | 16 +------- 4 files changed, 31 insertions(+), 32 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 2196b3b..bf77355 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -37,9 +37,7 @@ -
-
diff --git a/src/app/pages/tables/bikes/bikes.component.html b/src/app/pages/tables/bikes/bikes.component.html index 5dd51de..35d7ec7 100644 --- a/src/app/pages/tables/bikes/bikes.component.html +++ b/src/app/pages/tables/bikes/bikes.component.html @@ -1,37 +1,46 @@ - - - - - +
+ + +
+
- - - + + + - - + + - + - - + + - +
No. {{element.position}} ID{{ element.id }} Name {{element.name}} Name + {{ element.name }} + Weight Weight - + Symbol {{element.symbol}} Symbol{{ element.symbol }}
diff --git a/src/app/pages/tables/bikes/bikes.component.scss b/src/app/pages/tables/bikes/bikes.component.scss index e69de29..c53b27c 100644 --- a/src/app/pages/tables/bikes/bikes.component.scss +++ b/src/app/pages/tables/bikes/bikes.component.scss @@ -0,0 +1,6 @@ +.table-control { + margin: 0.5em; +} +table { + width: 100%; +} \ No newline at end of file diff --git a/src/app/pages/tables/bikes/bikes.component.ts b/src/app/pages/tables/bikes/bikes.component.ts index 940a7f7..16c38db 100644 --- a/src/app/pages/tables/bikes/bikes.component.ts +++ b/src/app/pages/tables/bikes/bikes.component.ts @@ -10,8 +10,7 @@ type CargoBikeResult = DeepExtractTypeSkipArrays