RawDisplayer small visual tweak

This commit is contained in:
Seth Ladygo
2019-04-03 17:08:06 -07:00
parent a66a3e70dd
commit b5544ba464

View File

@ -1,6 +1,6 @@
<template> <template>
<v-card> <v-card>
<v-toolbar color="purple" dark> <v-toolbar color="purple" dark dense>
<v-toolbar-title>{{ title }}</v-toolbar-title> <v-toolbar-title>{{ title }}</v-toolbar-title>
</v-toolbar> </v-toolbar>
<pre>{{ valueString }}</pre> <pre>{{ valueString }}</pre>
@ -17,16 +17,16 @@ const props = {
value: { value: {
required: true required: true
} }
}; }
export default { export default {
props, props,
computed: { computed: {
valueString () { valueString () {
return JSON.stringify(this.value, null, 2); return JSON.stringify(this.value, null, 2)
}
} }
} }
};
</script> </script>
<style scoped> <style scoped>