Skip to content

Commit

Permalink
Fix #5294: Tailwind fixes from PrimeVue (#5295)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Nov 12, 2023
1 parent fd3df52 commit 66fce5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/doc/autocomplete/theming/tailwinddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Tailwind = {
root: 'rounded-tl-none rounded-bl-none'
},
panel: {
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80')
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'dark:bg-gray-900 dark:text-white/80')
},
list: 'py-3 list-none m-0',
item: ({ context }) => ({
Expand Down
2 changes: 1 addition & 1 deletion components/doc/dialog/theming/tailwinddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function TailwindDoc(props) {
const Tailwind = {
dialog: {
root: ({ state }) => ({
className: classNames('rounded-lg shadow-lg border-0', 'max-h-90 transform scale-100', 'm-0 w-[50vw]', 'dark:border dark:border-blue-900/40', {
className: classNames('rounded-lg shadow-lg border-0', 'max-h-[90%] transform scale-100', 'm-0 w-[50vw]', 'dark:border dark:border-blue-900/40', {
'transition-none transform-none !w-screen !h-screen !max-h-full !top-0 !left-0': state.maximized
})
}),
Expand Down
2 changes: 1 addition & 1 deletion components/doc/image/theming/tailwinddoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Tailwind = {
className: classNames('fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black bg-opacity-90')
},
toolbar: {
className: classNames('absolute top-0 right-0 flex', 'p-4')
className: classNames('absolute top-0 right-0 z-10 flex', 'p-4')
},
rotaterightbutton: {
className: classNames(
Expand Down
6 changes: 3 additions & 3 deletions components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ const Tailwind = {
},
dialog: {
root: ({ state }) => ({
className: classNames('rounded-lg shadow-lg border-0', 'max-h-90 transform scale-100', 'm-0 w-[50vw]', 'dark:border dark:border-blue-900/40', {
className: classNames('rounded-lg shadow-lg border-0', 'max-h-[90%] transform scale-100', 'm-0 w-[50vw]', 'dark:border dark:border-blue-900/40', {
'transition-none transform-none !w-screen !h-screen !max-h-full !top-0 !left-0': state.maximized
})
}),
Expand Down Expand Up @@ -1497,7 +1497,7 @@ const Tailwind = {
root: 'rounded-tl-none rounded-bl-none'
},
panel: {
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80')
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'dark:bg-gray-900 dark:text-white/80')
},
list: 'py-3 list-none m-0',
item: ({ context }) => ({
Expand Down Expand Up @@ -2161,7 +2161,7 @@ const Tailwind = {
className: classNames('fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black bg-opacity-90')
},
toolbar: {
className: classNames('absolute top-0 right-0 flex', 'p-4')
className: classNames('absolute top-0 right-0 z-10 flex', 'p-4')
},
rotaterightbutton: {
className: classNames(
Expand Down

0 comments on commit 66fce5a

Please sign in to comment.