mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-07 22:43:19 +00:00
# Pull Request Template ## Description Fixes https://linear.app/chatwoot/issue/CW-4091/accessibility-improvement-support-bigger-font-size-for-the-dashboard ## Type of change - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? ### **Loom video** https://www.loom.com/share/1ab781859fa748a5ad54aacbacd127b4?sid=a7dd9164-a6de-462f-bff7-1b25e9c55b4f ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules
30 lines
559 B
Vue
30 lines
559 B
Vue
<script>
|
|
export default {
|
|
props: {
|
|
headerTitle: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
headerContent: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div class="pt-4 pb-0 px-8 border-b border-solid border-n-weak/60">
|
|
<h2 class="text-2xl text-slate-800 dark:text-slate-100 mb-1 font-medium">
|
|
{{ headerTitle }}
|
|
</h2>
|
|
<p
|
|
v-if="headerContent"
|
|
class="w-full text-slate-600 dark:text-slate-300 text-sm mb-2"
|
|
>
|
|
{{ headerContent }}
|
|
</p>
|
|
<slot />
|
|
</div>
|
|
</template>
|