From 293962a0dca7a41040da22a89e67c9a79753a456 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 22 Oct 2024 12:12:34 +0300 Subject: [PATCH] Update ColorPickerStyle.js --- packages/primevue/src/colorpicker/style/ColorPickerStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/colorpicker/style/ColorPickerStyle.js b/packages/primevue/src/colorpicker/style/ColorPickerStyle.js index c9d27464f..c5aad8d4a 100644 --- a/packages/primevue/src/colorpicker/style/ColorPickerStyle.js +++ b/packages/primevue/src/colorpicker/style/ColorPickerStyle.js @@ -116,7 +116,7 @@ const theme = ({ dt }) => ` const classes = { root: 'p-colorpicker p-component', preview: ({ props }) => ['p-colorpicker-preview', { 'p-disabled': props.disabled }], - panel: ({ props }) => [ + panel: ({ instance, props }) => [ 'p-colorpicker-panel', { 'p-colorpicker-panel-inline': props.inline,