Skip to content

Commit

Permalink
Merge branch 'rm/347818' into 'master'
Browse files Browse the repository at this point in the history
fix CTA alignement for the modals

See merge request kchat/webapp!876
  • Loading branch information
antonbuks committed Aug 20, 2024
2 parents 49bf508 + 1e4bf48 commit 34b832f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions webapp/channels/src/components/confirm_modal.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
.modal-confirm .modal-footer .checkbox {
margin-right: auto;
}
.modal-confirm .modal-body {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.modal-confirm .modal-footer {
justify-content: center !important;
}
2 changes: 1 addition & 1 deletion webapp/channels/src/components/confirm_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default class ConfirmModal extends React.Component<Props, State> {
return (
<Modal
id={classNames('confirmModal', this.props.id)}
className={'modal-confirm ' + this.props.modalClass}
className={'modal-confirm' + this.props.modalClass}
dialogClassName='a11y__modal'
show={this.props.show}
onHide={this.handleCancel}
Expand Down

0 comments on commit 34b832f

Please sign in to comment.