Merge pull request #6053 from marshmalien/5866-left-align-modal-buttons

Left align modal buttons

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-02-25 20:13:07 +00:00
committed by GitHub
5 changed files with 5 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ function Lookup(props) {
</ChipHolder> </ChipHolder>
</InputGroup> </InputGroup>
<Modal <Modal
isFooterLeftAligned
isLarge isLarge
title={i18n._(t`Select ${header || i18n._(t`Items`)}`)} title={i18n._(t`Select ${header || i18n._(t`Items`)}`)}
isOpen={isModalOpen} isOpen={isModalOpen}

View File

@@ -131,6 +131,7 @@ function HostEventModal({ onClose, hostEvent = {}, isOpen = false, i18n }) {
return ( return (
<Modal <Modal
isFooterLeftAligned
isLarge isLarge
isOpen={isOpen} isOpen={isOpen}
onClose={onClose} onClose={onClose}

View File

@@ -20,6 +20,7 @@ function LinkModal({ header, i18n, onConfirm }) {
width={600} width={600}
header={header} header={header}
isOpen isOpen
isFooterLeftAligned
title={i18n._(t`Workflow Link`)} title={i18n._(t`Workflow Link`)}
onClose={() => dispatch({ type: 'CANCEL_LINK_MODAL' })} onClose={() => dispatch({ type: 'CANCEL_LINK_MODAL' })}
actions={[ actions={[

View File

@@ -10,6 +10,7 @@ function NodeViewModal({ i18n }) {
<Modal <Modal
isLarge isLarge
isOpen isOpen
isFooterLeftAligned
title={i18n._(t`Node Details`)} title={i18n._(t`Node Details`)}
onClose={() => dispatch({ type: 'SET_NODE_TO_VIEW', value: null })} onClose={() => dispatch({ type: 'SET_NODE_TO_VIEW', value: null })}
> >

View File

@@ -11,6 +11,7 @@ function UnsavedChangesModal({ i18n, onSaveAndExit, onExit }) {
<Modal <Modal
width={600} width={600}
isOpen isOpen
isFooterLeftAligned
title={i18n._(t`Warning: Unsaved Changes`)} title={i18n._(t`Warning: Unsaved Changes`)}
onClose={() => dispatch({ type: 'TOGGLE_UNSAVED_CHANGES_MODAL' })} onClose={() => dispatch({ type: 'TOGGLE_UNSAVED_CHANGES_MODAL' })}
actions={[ actions={[