File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/remix-ui/modal-dialog/src/lib Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export const ModalDialog = (props: ModalDialogProps) => {
115115 { props . okLabel && (
116116 < button
117117 data-id = { `${ props . id } -modal-footer-ok-react` }
118- className = { 'modal-ok btn btn-sm ' + ( props . okBtnClass ? props . okBtnClass : state . toggleBtn ? 'border -primary' : 'border -secondary' ) }
118+ className = { 'modal-ok btn btn-sm ' + ( props . okBtnClass ? props . okBtnClass : state . toggleBtn ? 'btn -primary' : 'btn -secondary' ) }
119119 disabled = { props . validation && ! props . validation . valid }
120120 onClick = { ( ) => {
121121 if ( props . validation && ! props . validation . valid ) return
@@ -130,7 +130,7 @@ export const ModalDialog = (props: ModalDialogProps) => {
130130 { props . cancelLabel && (
131131 < button
132132 data-id = { `${ props . id } -modal-footer-cancel-react` }
133- className = { 'modal-cancel btn btn-sm ' + ( props . cancelBtnClass ? props . cancelBtnClass : state . toggleBtn ? 'border -secondary' : 'border -primary' ) }
133+ className = { 'modal-cancel btn btn-sm ' + ( props . cancelBtnClass ? props . cancelBtnClass : state . toggleBtn ? 'btn -secondary' : 'btn -primary' ) }
134134 data-bs-dismiss = "modal"
135135 onClick = { ( ) => {
136136 if ( props . cancelFn ) props . cancelFn ( AppModalCancelTypes . click )
You can’t perform that action at this time.
0 commit comments