From 4b1ee70da54442748d68e89fe8c478bceb54c68e Mon Sep 17 00:00:00 2001 From: portree_kid Date: Mon, 22 Jun 2020 17:04:50 +0200 Subject: [PATCH] Styling --- src/renderer/components/AirportEdit.vue | 10 ++++++++-- src/renderer/components/CheckPanel.vue | 14 ++++++++++---- src/renderer/components/LeafletSidebar.vue | 6 ++++-- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/src/renderer/components/AirportEdit.vue b/src/renderer/components/AirportEdit.vue index 7587865..1ce8a8d 100644 --- a/src/renderer/components/AirportEdit.vue +++ b/src/renderer/components/AirportEdit.vue @@ -3,7 +3,7 @@

{{ icao }} {{ name }}

- Airlines : + Airlines : {{item.value}} @@ -71,7 +71,7 @@ export default { if (this.editLayer === null) { this.initLayer() } - return this.editLayer.editing + return this.editLayer !== null && this.editLayer.editing } }, icao: function () { @@ -119,4 +119,10 @@ export default { padding: 0em; margin-bottom: 5px; } +.label { + display: flex; + justify-content: left; + align-items: center; + font-weight: bold; +} \ No newline at end of file diff --git a/src/renderer/components/CheckPanel.vue b/src/renderer/components/CheckPanel.vue index 732d5e8..7fb749f 100644 --- a/src/renderer/components/CheckPanel.vue +++ b/src/renderer/components/CheckPanel.vue @@ -8,10 +8,10 @@
- - - {{ result.message }} - + + + {{ result.message }} +
@@ -53,4 +53,10 @@ padding-left: 10px; padding-right: 10px; } +.label { + display: flex; + justify-content: left; + align-items: center; + font-weight: normal; +} diff --git a/src/renderer/components/LeafletSidebar.vue b/src/renderer/components/LeafletSidebar.vue index 50cde2f..8bd9db8 100644 --- a/src/renderer/components/LeafletSidebar.vue +++ b/src/renderer/components/LeafletSidebar.vue @@ -6,7 +6,7 @@
  • -
  • +
  • @@ -126,7 +126,9 @@ } }, computed: { - + results: function () { + return this.$store.state.Check.results.length > 0 + } } }