diff --git a/libs/angular-accelerator/src/lib/components/page-header/page-header.component.stories.ts b/libs/angular-accelerator/src/lib/components/page-header/page-header.component.stories.ts index 7384ce6f..50d7b0b5 100644 --- a/libs/angular-accelerator/src/lib/components/page-header/page-header.component.stories.ts +++ b/libs/angular-accelerator/src/lib/components/page-header/page-header.component.stories.ts @@ -76,11 +76,12 @@ const demoActions: Action[] = [ icon: PrimeIcons.TRASH, }, { - label: 'Some action', + label: 'Some action that has a long text', actionCallback: () => { console.log(`you clicked 'Some action'`) }, show: 'asOverflow', + icon: PrimeIcons.ADDRESS_BOOK }, { label: 'Other action', diff --git a/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_menu.scss b/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_menu.scss new file mode 100644 index 00000000..8dea2841 --- /dev/null +++ b/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_menu.scss @@ -0,0 +1,3 @@ +.p-menu-overlay { + width: auto !important; + } \ No newline at end of file diff --git a/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_vendor_extensions.scss b/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_vendor_extensions.scss index 2c06068f..7fd5181b 100644 --- a/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_vendor_extensions.scss +++ b/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_vendor_extensions.scss @@ -18,6 +18,7 @@ @import './_fieldset'; @import './_float_label'; @import './_listbox'; +@import './menu'; @import './_multiselect'; @import './_overlaypanel'; @import './_panel';