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
commit e6a94ed0cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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