diff --git a/components/lib/chart/Chart.vue b/components/lib/chart/Chart.vue index f2c5f55de..4c326e593 100755 --- a/components/lib/chart/Chart.vue +++ b/components/lib/chart/Chart.vue @@ -1,5 +1,5 @@ diff --git a/components/lib/chart/style/ChartStyle.js b/components/lib/chart/style/ChartStyle.js index caec2009a..8fa6b3480 100644 --- a/components/lib/chart/style/ChartStyle.js +++ b/components/lib/chart/style/ChartStyle.js @@ -1,12 +1,8 @@ import BaseStyle from 'primevue/base/style'; -const css = ` -@layer primevue { - .p-chart { - position: relative; - } -} -`; +const inlineStyles = { + root: { position: 'relative' } +}; const classes = { root: 'p-chart' @@ -14,6 +10,6 @@ const classes = { export default BaseStyle.extend({ name: 'chart', - css, + inlineStyles, classes }); diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index 3a8d3cd8b..bc5a853c4 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -4249,11 +4249,5 @@ export default { resizehelper: { class: 'absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300' } - }, - // CHART - chart: { - root: { - class: 'relative' - } } };