93cecbe49c
* Fix bulma/buefy being imported many (many !!!) times * Remove javascript-time-ago because date-fns pretty much does the same thing * Make sure languages are loaded asynchronously Signed-off-by: Thomas Citharel <tcit@tcit.fr>
21 lines
501 B
Vue
21 lines
501 B
Vue
<template>
|
|
<div class="is-divider-vertical" :data-content="dataContent"></div>
|
|
</template>
|
|
<script lang="ts">
|
|
import { Component, Prop, Vue } from "vue-property-decorator";
|
|
|
|
@Component
|
|
export default class VerticalDivider extends Vue {
|
|
@Prop({ default: "Or" }) content!: string;
|
|
|
|
get dataContent(): string {
|
|
return this.content.toLocaleUpperCase();
|
|
}
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.is-divider-vertical[data-content]::after {
|
|
background-color: $body-background-color;
|
|
}
|
|
</style>
|