]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20548 Fix quality profile changelog taxonomy changes
author7PH <benjamin.raymond@sonarsource.com>
Thu, 12 Oct 2023 15:24:15 +0000 (17:24 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 16 Oct 2023 20:02:49 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx
server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx

index 62eb968fe0a5edf52fa557538274ebb2a1ec6936..a651a5e413bf6f274d2b292c00a4f3e84b9b177a 100644 (file)
@@ -78,11 +78,9 @@ export default function Changelog(props: Props) {
 
         <CellComponent className="sw-align-top">
           {event.ruleName && (
-            <Link to={getRulesUrl({ rule_key: event.ruleKey })} className="sw-block sw-w-fit">
-              {event.ruleName}
-            </Link>
+            <Link to={getRulesUrl({ rule_key: event.ruleKey })}>{event.ruleName}</Link>
           )}
-          <div className="sw-mt-2 sw-flex sw-gap-2">
+          <div className="sw-mt-3 sw-flex sw-gap-2">
             {event.cleanCodeAttributeCategory && (
               <CleanCodeAttributePill
                 cleanCodeAttributeCategory={event.cleanCodeAttributeCategory}
index 02c99b1229597378f9fbdd6a6329a3af5a767ea8..2a7d67f3cb9eb9f9108789852f4ab93aea81c62b 100644 (file)
@@ -82,13 +82,15 @@ export default function ProfileHeader(props: Props) {
           {!isProfileComparePath(location.pathname) && (
             <PageContentFontWrapper className="sw-body-sm sw-flex sw-gap-3">
               <div>
-                <span className="sw-body-sm-highlight">
+                <strong className="sw-body-sm-highlight">
                   {translate('quality_profiles.updated_')}
-                </span>{' '}
+                </strong>{' '}
                 <DateFromNow date={profile.rulesUpdatedAt} />
               </div>
               <div>
-                <span className="sw-body-sm-highlight">{translate('quality_profiles.used_')}</span>{' '}
+                <strong className="sw-body-sm-highlight">
+                  {translate('quality_profiles.used_')}
+                </strong>{' '}
                 <DateFromNow date={profile.lastUsed} />
               </div>