-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dashboard): Apply UI fixes to email and in-app editor #7278
Conversation
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dashboard-v2-novu-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -29,7 +29,7 @@ export const InAppPreview = (props: InAppPreviewProps) => { | |||
return ( | |||
<div | |||
className={cn( | |||
'border-foreground-200 to-background/90 pointer-events-none relative mx-auto flex h-full w-full flex-col gap-4 rounded-xl px-2 py-3 shadow-sm', | |||
'border-foreground-200 to-background/90 pointer-events-none relative mx-auto flex h-full w-full flex-col gap-4 rounded-xl px-4 py-3 shadow-sm', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix alignment issues between the body and the preview header. Padding and margin should always be on the layout level, not on each component of the preview.
<EmailTabsEditSection> | ||
<CustomStepControls dataSchema={dataSchema} origin={workflow.origin} /> | ||
</EmailTabsEditSection> | ||
{workflow.origin === WorkflowOriginEnum.NOVU_CLOUD && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Show sections based on workflow type avoiding redundant empty divs or the dangling Email Acme header
What changed? Why was the change needed?
See preview deployment