From 4bb10cecc4da776c12ce3ffdbcc8458902d0d566 Mon Sep 17 00:00:00 2001 From: chillwafflez Date: Tue, 2 Apr 2024 23:08:42 -0700 Subject: [PATCH] put VehicleStatus component onto Static/Map screen. Readjusted CSS of components within the VehicleStatusComponent --- package-lock.json | 1 - src/components/VehicleStatus/Coordinate.vue | 3 +- .../VehicleStatus/EmergencyStop.vue | 8 +- src/components/VehicleStatus/Open.vue | 9 +-- src/components/VehicleStatusComponent.vue | 81 +++++++------------ src/views/StaticScreen.vue | 48 ++++++++++- 6 files changed, 79 insertions(+), 71 deletions(-) diff --git a/package-lock.json b/package-lock.json index e0367c0..62f5b61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "@tauri-apps/api": "^1.4.0", "vue": "^3.2.45", "vue-router": "^4.3.0" - }, "devDependencies": { "@tauri-apps/cli": "^1.4.0", diff --git a/src/components/VehicleStatus/Coordinate.vue b/src/components/VehicleStatus/Coordinate.vue index 3a2efa2..c161413 100644 --- a/src/components/VehicleStatus/Coordinate.vue +++ b/src/components/VehicleStatus/Coordinate.vue @@ -22,8 +22,7 @@ position: relative; display: flex; flex-direction: column; - width: 75%; - /* border: 0.05em solid black; */ + width: 92%; } .coordinate-div { diff --git a/src/components/VehicleStatus/EmergencyStop.vue b/src/components/VehicleStatus/EmergencyStop.vue index 1ebcae1..977f3c8 100644 --- a/src/components/VehicleStatus/EmergencyStop.vue +++ b/src/components/VehicleStatus/EmergencyStop.vue @@ -10,11 +10,7 @@ export default { data() { return {}; - }, - // props: { - // }, - // computed: { - // } + } }; @@ -24,7 +20,7 @@ position: relative; display: flex; height: 20%; - width: 70%; + width: 78%; text-align: center; } diff --git a/src/components/VehicleStatus/Open.vue b/src/components/VehicleStatus/Open.vue index 07d7310..5695b2f 100644 --- a/src/components/VehicleStatus/Open.vue +++ b/src/components/VehicleStatus/Open.vue @@ -7,23 +7,18 @@ export default { data() { return {}; - }, - // props: { - // }, - // computed: { - // } + } }; \ No newline at end of file diff --git a/src/views/StaticScreen.vue b/src/views/StaticScreen.vue index 67a7436..c55bdc1 100644 --- a/src/views/StaticScreen.vue +++ b/src/views/StaticScreen.vue @@ -1,12 +1,35 @@ \ No newline at end of file