aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/system/components
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2021-08-23 17:48:45 +0200
committersonartech <sonartech@sonarsource.com>2021-08-24 20:07:41 +0000
commit225468b18b97ccb6d2ffa144a34d6b3a8a717aad (patch)
tree0b723a878d90ec33a5580b80604e217a7a00b5ea /server/sonar-web/src/main/js/apps/system/components
parent0c3d6e8e5a4c19c40c9266a8592100c17b205f50 (diff)
downloadsonarqube-225468b18b97ccb6d2ffa144a34d6b3a8a717aad.tar.gz
sonarqube-225468b18b97ccb6d2ffa144a34d6b3a8a717aad.zip
SONAR-15036 Use monospace font for license ID
Diffstat (limited to 'server/sonar-web/src/main/js/apps/system/components')
-rw-r--r--server/sonar-web/src/main/js/apps/system/components/PageHeader.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageHeader-test.tsx.snap4
2 files changed, 6 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/components/PageHeader.tsx b/server/sonar-web/src/main/js/apps/system/components/PageHeader.tsx
index 0aab72a96ad..4ad50569370 100644
--- a/server/sonar-web/src/main/js/apps/system/components/PageHeader.tsx
+++ b/server/sonar-web/src/main/js/apps/system/components/PageHeader.tsx
@@ -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>
diff --git a/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageHeader-test.tsx.snap
index b9fce7a55af..9792203714f 100644
--- a/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageHeader-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageHeader-test.tsx.snap
@@ -72,7 +72,9 @@ exports[`should render correctly 3`] = `
</strong>
</th>
<td>
- foo-bar
+ <code>
+ foo-bar
+ </code>
</td>
</tr>
<tr>