From 6d17daf1b7b49f98ab2ef3548192698c8f57dc42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 25 Sep 2020 19:07:29 +0200 Subject: [PATCH] improve Inspect view, add Address component --- ui/src/App.vue | 4 +- ui/src/components/Address.vue | 34 ++++++++++++++++ ui/src/views/Inspect.vue | 74 ++++++++++++++++++++++++++--------- 3 files changed, 93 insertions(+), 19 deletions(-) create mode 100644 ui/src/components/Address.vue diff --git a/ui/src/App.vue b/ui/src/App.vue index 5af6ddb..79f4ec4 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -18,9 +18,11 @@ export default defineComponent({ @import "../node_modules/@shoelace-style/shoelace/dist/shoelace/shoelace.css"; #app { - font-family: Avenir, Helvetica, Arial, sans-serif; + font-family: Helvetica, Arial, sans-serif; color: #2c3e50; padding: 1rem; + + --monospace-font: "Fira Code", "Consolas", "JetBrains Mono", "Inconsolata", monospace; } .header { diff --git a/ui/src/components/Address.vue b/ui/src/components/Address.vue new file mode 100644 index 0000000..0ae077f --- /dev/null +++ b/ui/src/components/Address.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/ui/src/views/Inspect.vue b/ui/src/views/Inspect.vue index e1ae482..cb894ed 100644 --- a/ui/src/views/Inspect.vue +++ b/ui/src/views/Inspect.vue @@ -1,30 +1,43 @@