aboutsummaryrefslogtreecommitdiff
path: root/src/components/BaseLine.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/BaseLine.vue')
-rw-r--r--src/components/BaseLine.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/BaseLine.vue b/src/components/BaseLine.vue
index bde2e56..84a3846 100644
--- a/src/components/BaseLine.vue
+++ b/src/components/BaseLine.vue
@@ -36,7 +36,7 @@ function periodStyles(period){
flexGrow: period.len,
};
}
-const labelStyles = computed(() => ({
+const labelStyles: Record<string,string> = computed(() => ({
transform: props.vert ? 'rotate(90deg) translate(50%, 0)' : 'none',
whiteSpace: 'nowrap',
width: props.vert ? '40px' : 'auto',