diff options
author | Revanshu Paliwal <revanshu.paliwal@sonarsource.com> | 2023-09-11 17:46:51 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-09-19 20:02:46 +0000 |
commit | bd404df9f5df0ce8fb2119c1dc27fde282c82b5a (patch) | |
tree | 3d8e4705cf06996fad5afeb8fdba3bd1f35c07ae /server/sonar-web/design-system/src/components/modal | |
parent | 44e4e489ee6fd262d805a0418bd381625aaee349 (diff) | |
download | sonarqube-bd404df9f5df0ce8fb2119c1dc27fde282c82b5a.tar.gz sonarqube-bd404df9f5df0ce8fb2119c1dc27fde282c82b5a.zip |
SONAR-20337 Updating modals for quality gate's conditions
Diffstat (limited to 'server/sonar-web/design-system/src/components/modal')
-rw-r--r-- | server/sonar-web/design-system/src/components/modal/Modal.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/components/modal/Modal.tsx b/server/sonar-web/design-system/src/components/modal/Modal.tsx index 01a9163178d..4746501fe59 100644 --- a/server/sonar-web/design-system/src/components/modal/Modal.tsx +++ b/server/sonar-web/design-system/src/components/modal/Modal.tsx @@ -90,7 +90,7 @@ export function Modal({ <Global styles={globalStyles({ theme })} /> <ReactModal - aria={{ labelledby: '#modal_header_title' }} + aria={{ labelledby: 'modal_header_title' }} className={classNames('design-system-modal-contents modal', { large: isLarge })} isOpen={isOpen} onRequestClose={onClose} @@ -147,6 +147,8 @@ const globalStyles = ({ theme }: { theme: Theme }) => css` &.large { max-width: 1280px; min-width: 1040px; + transform: translateX(-50%); + margin-left: 0px; } } |