]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15036 Use monospace font for license ID
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Mon, 23 Aug 2021 15:48:45 +0000 (17:48 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 24 Aug 2021 20:07:41 +0000 (20:07 +0000)
server/sonar-web/src/main/js/apps/system/components/PageHeader.tsx
server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageHeader-test.tsx.snap

index 0aab72a96ad7eab7e104f4c110e03e5105ae4fbb..4ad50569370303d67d50087dd1bf80b9c124297c 100644 (file)
@@ -62,7 +62,9 @@ export default function PageHeader(props: Props) {
                   <th>
                     <strong>{translate('system.server_id')}</strong>
                   </th>
-                  <td>{serverId}</td>
+                  <td>
+                    <code>{serverId}</code>
+                  </td>
                 </tr>
                 <tr>
                   <th>
index b9fce7a55af6173c11ebdfd65b56420032dce7b4..9792203714fb075db7298185f3aa049513633fec 100644 (file)
@@ -72,7 +72,9 @@ exports[`should render correctly 3`] = `
               </strong>
             </th>
             <td>
-              foo-bar
+              <code>
+                foo-bar
+              </code>
             </td>
           </tr>
           <tr>