Skip to content

Commit be94f7b

Browse files
committed
Fix close button positioning on active modals
1 parent dded223 commit be94f7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/components/elements/modals/ActiveModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ export const ActiveModal = ({activeModal}: ActiveModalProps): React.ReactElement
4646
: (activeModal.title || activeModal.closeAction) && <ModalHeader
4747
data-testid={"modal-header"}
4848
tag={siteSpecific(undefined, "h3")}
49-
className={classNames("w-100", {
50-
"d-flex justify-content-between": activeModal.closeAction,
49+
className={classNames("w-100 d-flex justify-content-between", {
5150
"h-title": !!activeModal.title && isAda,
5251
})}
5352
style={activeModal.title ? {} : {top: 0, width: "100%", height: 0, zIndex: 1}}

0 commit comments

Comments
 (0)