Fix #4650 - Edit dialog tailwind class

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.
pull/4654/head
Nay Nyein Chan 2023-10-19 08:41:09 +00:00 committed by GitHub
parent 759bd18bf5
commit d86fcde5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -397,7 +397,7 @@ export default {
root: ({ state }) => ({ root: ({ state }) => ({
class: [ class: [
'rounded-lg shadow-lg border-0', 'rounded-lg shadow-lg border-0',
'max-h-90 transform scale-100', 'max-h-[90%] transform scale-100',
'm-0 w-[50vw]', 'm-0 w-[50vw]',
'dark:border dark:border-blue-900/40', 'dark:border dark:border-blue-900/40',
{ {
@ -430,7 +430,6 @@ export default {
class: [ class: [
'overflow-y-auto', 'overflow-y-auto',
'bg-white text-gray-700 px-6 pb-8 pt-0', 'bg-white text-gray-700 px-6 pb-8 pt-0',
,
'dark:bg-gray-900 dark:text-white/80', 'dark:bg-gray-900 dark:text-white/80',
{ {
grow: state.maximized grow: state.maximized