2020-01-29 19:37:25 +00:00
|
|
|
<template>
|
2020-02-09 12:31:17 +00:00
|
|
|
<mfm-core v-bind="$attrs" class="havbbuyv" :class="{ nowrap: $attrs['nowrap'] }"/>
|
2020-01-29 19:37:25 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
import MfmCore from './mfm';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
components: {
|
|
|
|
MfmCore
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.havbbuyv {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
|
|
|
&.nowrap {
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal; // https://codeday.me/jp/qa/20190424/690106.html
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
::v-deep .quote {
|
|
|
|
display: block;
|
|
|
|
margin: 8px;
|
|
|
|
padding: 6px 0 6px 12px;
|
2020-01-30 20:20:10 +00:00
|
|
|
color: var(--fg);
|
|
|
|
border-left: solid 3px var(--fg);
|
|
|
|
opacity: 0.7;
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
2020-02-01 08:10:56 +00:00
|
|
|
|
|
|
|
::v-deep pre {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2020-02-06 08:05:19 +00:00
|
|
|
|
|
|
|
::v-deep .title {
|
|
|
|
text-align: center;
|
|
|
|
border-bottom: solid 1px var(--divider);
|
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
</style>
|