diff --git a/app/javascript/dashboard/assets/scss/views/settings/inbox.scss b/app/javascript/dashboard/assets/scss/views/settings/inbox.scss index 27ff6fb1f..cc2abcf9b 100644 --- a/app/javascript/dashboard/assets/scss/views/settings/inbox.scss +++ b/app/javascript/dashboard/assets/scss/views/settings/inbox.scss @@ -1,9 +1,5 @@ .settings { overflow: auto; - - .page-top-bar { - @include padding($space-normal $space-two $zero); - } } // Conversation header - Light BG @@ -27,7 +23,6 @@ @include flex-align($x: center, $y: middle); @include margin($zero); } - } .wizard-box { diff --git a/app/javascript/dashboard/components/layout/Sidebar.vue b/app/javascript/dashboard/components/layout/Sidebar.vue index d448eac22..996494789 100644 --- a/app/javascript/dashboard/components/layout/Sidebar.vue +++ b/app/javascript/dashboard/components/layout/Sidebar.vue @@ -264,10 +264,6 @@ export default { .modal-container { width: 40rem; } - - .page-top-bar { - padding-bottom: $space-two; - } } .account-selector { diff --git a/app/javascript/dashboard/components/widgets/SettingIntroBanner.stories.js b/app/javascript/dashboard/components/widgets/SettingIntroBanner.stories.js new file mode 100644 index 000000000..47286ae21 --- /dev/null +++ b/app/javascript/dashboard/components/widgets/SettingIntroBanner.stories.js @@ -0,0 +1,30 @@ +import SettingIntroBanner from './SettingIntroBanner'; + +export default { + title: 'Components/Settings/Banner', + component: SettingIntroBanner, + argTypes: { + headerTitle: { + defaultValue: 'Acme Support', + control: { + type: 'text', + }, + }, + headerContent: { + defaultValue: + 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.', + control: { + type: 'text', + }, + }, + }, +}; + +const Template = (args, { argTypes }) => ({ + props: Object.keys(argTypes), + components: { SettingIntroBanner }, + template: '', +}); + +export const Banner = Template.bind({}); +Banner.args = {}; diff --git a/app/javascript/dashboard/components/widgets/SettingIntroBanner.vue b/app/javascript/dashboard/components/widgets/SettingIntroBanner.vue new file mode 100644 index 000000000..557880056 --- /dev/null +++ b/app/javascript/dashboard/components/widgets/SettingIntroBanner.vue @@ -0,0 +1,33 @@ + + + + diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue index a6c1701f2..4cd8a4d12 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue @@ -1,6 +1,6 @@