Skip to content

Commit

Permalink
fix(components/dialog): content style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MM25Zamanian committed Mar 25, 2024
1 parent 78738e5 commit a73f96d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class GecutDialogDirective extends GecutDirective {
></div>
<div
class="flex flex-col w-max h-max z-modal min-w-72 relative
class="flex flex-col w-max h-max z-modal min-w-72 relative
motion-safe:group-[.open.opening]/dialog:animate-zoomFadeIn
motion-safe:group-[.open.closing]/dialog:animate-zoomFadeOut
motion-reduce:group-[.open.opening]/dialog:animate-fadeIn
Expand Down Expand Up @@ -134,7 +134,7 @@ export class GecutDialogDirective extends GecutDirective {
hasContent,
() => html`
${when(hasDivider, () => divider({}))}
<div class="scrollable ${hasDivider ? 'py-2' : ''}">${content.content}</div>
<div class="scrollable leading-tight ${hasDivider ? 'py-2' : ''}">${content.content}</div>
${when(hasDivider, () => divider({}))}
`,
)}
Expand Down

0 comments on commit a73f96d

Please sign in to comment.