We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0036b48 commit 50b3258Copy full SHA for 50b3258
src/visualizations/CategoryTree.vue
@@ -1,21 +1,15 @@
1
<template lang="pug">
2
div
3
div(v-for="cat in category_hierarchy", style="padding: 0.1em 0 0.1em 0")
4
- span(:style="'padding-left: ' + cat.depth + 'em'")
5
- span(v-if="cat.depth > 0") ⮡
+ span(:style="'padding-left: ' + (1.4 * cat.depth - 1) + 'em'")
+ span(v-if="cat.depth > 0", style="opacity: 0.7") #[icon.mr-1(name="caret-right")]
6
| {{cat.subname}}
7
span(style="float: right")
8
| {{cat.duration | friendlyduration}}
9
</template>
10
11
-<style scoped lang="scss">
12
-svg {
13
- border: 1px solid #999;
14
- border-radius: 0.5em;
15
-}
16
-</style>
17
-
18
<script>
+import 'vue-awesome/icons/caret-right';
19
const _ = require('lodash');
20
const classes = require('~/util/classes.ts');
21
0 commit comments