mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
* fix: Fixes broken style in automation page * Fix the position of drag handle Co-authored-by: fayazara <fayazara@gmail.com> Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
49 lines
925 B
Vue
49 lines
925 B
Vue
<template>
|
|
<div class="column page-top-bar">
|
|
<img v-if="headerImage" :src="headerImage" alt="No image" />
|
|
<h2 class="page-sub-title">
|
|
{{ headerTitle }}
|
|
</h2>
|
|
<p v-if="headerContent" class="small-12 column wrap-content">
|
|
{{ headerContent }}
|
|
<span v-if="headerContentValue" class="content-value">
|
|
{{ headerContentValue }}
|
|
</span>
|
|
</p>
|
|
<slot />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
headerTitle: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
headerContent: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
headerContentValue: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
headerImage: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
<style scoped lang="scss">
|
|
.wrap-content {
|
|
word-wrap: break-word;
|
|
margin-top: var(--space-small);
|
|
|
|
.content-value {
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
}
|
|
</style>
|