mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
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:
commit
e6a94ed0cf
@ -140,6 +140,7 @@ function Lookup(props) {
|
||||
</ChipHolder>
|
||||
</InputGroup>
|
||||
<Modal
|
||||
isFooterLeftAligned
|
||||
isLarge
|
||||
title={i18n._(t`Select ${header || i18n._(t`Items`)}`)}
|
||||
isOpen={isModalOpen}
|
||||
|
||||
@ -131,6 +131,7 @@ function HostEventModal({ onClose, hostEvent = {}, isOpen = false, i18n }) {
|
||||
|
||||
return (
|
||||
<Modal
|
||||
isFooterLeftAligned
|
||||
isLarge
|
||||
isOpen={isOpen}
|
||||
onClose={onClose}
|
||||
|
||||
@ -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={[
|
||||
|
||||
@ -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 })}
|
||||
>
|
||||
|
||||
@ -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={[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user