Skip to content

Commit

Permalink
Fix primefaces#4650 - Edit dialog tailwind class
Browse files Browse the repository at this point in the history
The issue of max height not working was resolved by changing the class from "max-h-90" to "max-h-[90%]" with arbitrary percentage values.
  • Loading branch information
naynyeinchan authored Oct 19, 2023
1 parent 759bd18 commit d86fcde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export default {
root: ({ state }) => ({
class: [
'rounded-lg shadow-lg border-0',
'max-h-90 transform scale-100',
'max-h-[90%] transform scale-100',
'm-0 w-[50vw]',
'dark:border dark:border-blue-900/40',
{
Expand Down Expand Up @@ -430,7 +430,6 @@ export default {
class: [
'overflow-y-auto',
'bg-white text-gray-700 px-6 pb-8 pt-0',
,
'dark:bg-gray-900 dark:text-white/80',
{
grow: state.maximized
Expand Down

0 comments on commit d86fcde

Please sign in to comment.