File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed
Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const Dialog = props => {
1616 dialogTitleProps,
1717 fullScreen,
1818 id,
19+ dividerProps,
1920 dialogActionsProps,
2021 dialogContentProps
2122 } = useCozyDialog ( props )
@@ -45,7 +46,7 @@ const Dialog = props => {
4546 { title && (
4647 < >
4748 < DialogTitle { ...dialogTitleProps } > { title } </ DialogTitle >
48- < Divider />
49+ < Divider { ... dividerProps } />
4950 </ >
5051 ) }
5152 < DialogContent { ...dialogContentProps } >
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const FixedActionsDialog = props => {
1616 dialogTitleProps,
1717 fullScreen,
1818 id,
19+ dividerProps,
1920 dialogActionsProps,
2021 dialogContentProps
2122 } = useCozyDialog ( { ...props , isFluidTitle : true } )
@@ -52,7 +53,7 @@ const FixedActionsDialog = props => {
5253 { content }
5354 </ div >
5455 </ DialogContent >
55- < Divider />
56+ < Divider { ... dividerProps } />
5657 { actions && (
5758 < DialogActions
5859 { ...dialogActionsProps }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const FixedDialog = props => {
1616 dialogTitleProps,
1717 fullScreen,
1818 id,
19+ dividerProps,
1920 dialogActionsProps,
2021 dialogContentProps
2122 } = useCozyDialog ( props )
@@ -45,7 +46,7 @@ const FixedDialog = props => {
4546 { title && (
4647 < >
4748 < DialogTitle { ...dialogTitleProps } > { title } </ DialogTitle >
48- < Divider />
49+ < Divider { ... dividerProps } />
4950 </ >
5051 ) }
5152 < DialogContent { ...dialogContentProps } >
Original file line number Diff line number Diff line change @@ -416,7 +416,11 @@ export const makeLightNormalOverrides = theme => ({
416416 padding : '0 8px 8px' ,
417417 height : 'auto' ,
418418 maxHeight : 'calc(100% - 32px)' ,
419- borderRadius : '6px'
419+ borderRadius : '6px' ,
420+ '& .divider--dialog' : {
421+ marginLeft : '-8px' ,
422+ marginRight : '-8px'
423+ }
420424 }
421425 } ,
422426 '&.medium' : {
You can’t perform that action at this time.
0 commit comments