diff options
author | stanislavh <stanislav.honcharov@sonarsource.com> | 2023-10-12 16:12:52 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-10-16 20:02:48 +0000 |
commit | 082c1f412cd2434e29cd7ed1c8d5f7b937d4eaaf (patch) | |
tree | b6fcbe5bb2e4a84694796e0d7beb40e4fb0e8dc6 /server/sonar-web/src/main/js/apps/quality-profiles/compare | |
parent | fbaf22bc336d9cbd62c4014eceb5d384f73f8e8d (diff) | |
download | sonarqube-082c1f412cd2434e29cd7ed1c8d5f7b937d4eaaf.tar.gz sonarqube-082c1f412cd2434e29cd7ed1c8d5f7b937d4eaaf.zip |
SONAR-20547 Fix positioning of right table
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/compare')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.tsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.tsx index 80abc67bffd..0c9cf937835 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResults.tsx @@ -122,9 +122,7 @@ export default function ComparisonResults(props: Readonly<Props>) { noSidePadding header={ <TableRowInteractive> - {renderFirstColumn && ( - <ContentCell aria-label={intl.formatMessage({ id: 'actions' })}> </ContentCell> - )} + <ContentCell aria-label={intl.formatMessage({ id: 'actions' })}> </ContentCell> <ContentCell className="sw-pl-4"> {intl.formatMessage( { @@ -138,16 +136,16 @@ export default function ComparisonResults(props: Readonly<Props>) { > {inRight.map((rule) => ( <TableRowInteractive key={`right-${rule.key}`}> - {renderFirstColumn && ( - <ActionCell className="sw-px-0"> + <ActionCell className="sw-px-0"> + {renderFirstColumn && ( <ComparisonResultActivation key={rule.key} onDone={props.refresh} profile={leftProfile} ruleKey={rule.key} /> - </ActionCell> - )} + )} + </ActionCell> <ContentCell className="sw-pl-4"> <RuleCell rule={rule} /> </ContentCell> |