fix(client): right-align ModalHeader close content wrapped in a custom element
@@ -112,7 +112,7 @@ const DescendantsPageListModalSubstance = ({
const buttons = useMemo(
() => (
- <span className="me-3">
+ <span className="ms-auto me-3">
<ExpandOrContractButton
isWindowExpanded={isWindowExpanded}
expandWindow={expandWindow}
@@ -118,7 +118,7 @@ const PageAccessoriesModalSubstance = ({
@@ -100,7 +100,7 @@ const ConflictDiffModalSubstance = (
const headerButtons = useMemo(
- <div className="d-flex align-items-center">
+ <div className="d-flex align-items-center ms-auto">
<button
type="button"
className="btn"
@@ -377,7 +377,7 @@ export const GrantSelector = (props: Props): JSX.Element => {
return (
- className="btn border-0 text-muted"
+ className="btn border-0 text-muted ms-auto"
onClick={() => setIsSelectGroupModalShown(false)}
>
<span className="material-symbols-outlined">close</span>
@@ -489,7 +489,7 @@ const HandsontableModalSubstance = (
});
const closeButton = (
- <span>
+ <span className="ms-auto">
contractWindow={contractWindow}
@@ -29,7 +29,7 @@ export const AiAssistantManagementHeader = (props: Props): JSX.Element => {
<ModalHeader
tag="h4"
close={
- <button type="button" className="btn p-0" onClick={close}>
+ <button type="button" className="btn p-0 ms-auto" onClick={close}>
</button>
}