fix: Wrong padding on "Invite Team Members" modal (CALCOM-8414-FIX) (#9273)
* Fix margin from invitation modal content * Change margin to padding in Dialog component, so the divider absolute property works properly * Update Dialog.tsx padding from the button top from 24px to 16px * Change Dialog content padding to match figma design, having the padding bottom 16px * Update FormBuilder.tsx to match figma * Update FormBuilder.tsx Dialog content inner div paddings * Update FormBuilder.tsx, remove relative to fix divider * Fixing padding across dialogs * nit * Fixes e2e * undo wrong padding * fixed footer with divider --------- Co-authored-by: gitstart-calcom <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: zomars <[email protected]>
This commit is contained in:
4 files changed
+8
-8
No files matched your search
@@ -138,7 +138,7 @@ export function DialogFooter(props: { children: ReactNode; className?: string; s
|
||||
return (
|
||||
<div className={classNames("bg-default", props.className)}>
|
||||
{props.showDivider && <hr className="border-subtle absolute right-0 w-full" />}
|
||||
<div className={classNames("bg-default mt-6 flex justify-end space-x-2 rtl:space-x-reverse")}>
|
||||
<div className={classNames("-mb-4 flex justify-end space-x-2 pt-4 rtl:space-x-reverse")}>
|
||||
{props.children}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user