]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20978 Prevent background task table overflow with long component names
author7PH <benjamin.raymond@sonarsource.com>
Tue, 21 Nov 2023 15:46:38 +0000 (16:46 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 23 Nov 2023 20:02:58 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx

index 6234879448d1a689951cad265a1cccd13bc402d6..6e248875d59ec6c1689f5441e0d2bff1a9161592 100644 (file)
@@ -59,7 +59,9 @@ export default function TaskComponent({ task }: Props) {
 
       {task.componentName && (
         <Link className="spacer-right" to={getTaskComponentUrl(task.componentKey, task)}>
-          {task.componentName}
+          <span className="text-limited text-text-top" title={task.componentName}>
+            {task.componentName}
+          </span>
 
           {task.branch && (
             <span className="text-limited text-text-top" title={task.branch}>