diff --git a/ui/src/App.vue b/ui/src/App.vue index a75ea14..260c327 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -11,9 +11,9 @@ diff --git a/ui/src/components/SearchResult.vue b/ui/src/components/SearchResult.vue index bfc0541..b1b2e60 100644 --- a/ui/src/components/SearchResult.vue +++ b/ui/src/components/SearchResult.vue @@ -1,5 +1,8 @@ @@ -27,7 +29,7 @@ export default defineComponent({ .search-result { .search-result-container { box-shadow: var(--sl-shadow-medium); - margin: .5rem; + margin: 0.5rem; padding: 1rem; } @@ -37,7 +39,7 @@ export default defineComponent({ text-decoration: inherit; div { - margin: .5rem 0; + margin: 0.5rem 0; } .search-result-attribute { diff --git a/ui/src/main.ts b/ui/src/main.ts index b6f6e62..adcd822 100644 --- a/ui/src/main.ts +++ b/ui/src/main.ts @@ -1,8 +1,8 @@ +import { defineCustomElements, setAssetPath, SlInput } from "@shoelace-style/shoelace"; import * as Vue from "vue"; import { DirectiveBinding } from "vue"; import App from "./App.vue"; import router from "./router"; -import { defineCustomElements, setAssetPath, SlInput, } from "@shoelace-style/shoelace"; // TODO: Remove when UI settles! defineCustomElements(); diff --git a/ui/src/router/index.ts b/ui/src/router/index.ts index 33e5457..928e062 100644 --- a/ui/src/router/index.ts +++ b/ui/src/router/index.ts @@ -1,7 +1,7 @@ -import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router' -import Home from "../views/About.vue"; -import Search from '../views/Search.vue' import Inspect from "@/views/Inspect.vue"; +import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'; +import Home from "../views/About.vue"; +import Search from '../views/Search.vue'; const routes: Array = [ { diff --git a/ui/src/types/base.ts b/ui/src/types/base.ts index 34bea94..1de2e5d 100644 --- a/ui/src/types/base.ts +++ b/ui/src/types/base.ts @@ -4,7 +4,7 @@ export type VALUE_TYPE = "Value" | "Address" | "Invalid"; export interface IEntry { entity: Address, attribute: string, - value: {t: VALUE_TYPE, c: string} + value: { t: VALUE_TYPE, c: string } } export interface ListingResult { diff --git a/ui/src/views/Inspect.vue b/ui/src/views/Inspect.vue index 5b7b7d9..40dc9f6 100644 --- a/ui/src/views/Inspect.vue +++ b/ui/src/views/Inspect.vue @@ -1,7 +1,11 @@