Browse Source

SONAR-12139 Fix display issue on projects administration page

tags/7.8
Wouter Admiraal 5 years ago
parent
commit
0616b2d9ac

+ 7
- 0
server/sonar-web/src/main/js/app/styles/init/misc.css View File

@@ -28,6 +28,13 @@ th.nowrap {
white-space: nowrap !important;
}

table.hide-overflow td,
td.hide-overflow,
th.hide-overflow {
text-overflow: ellipsis;
overflow: hidden;
}

.hidden {
display: none !important;
visibility: hidden !important;

+ 1
- 1
server/sonar-web/src/main/js/apps/projectsManagement/ProjectRow.tsx View File

@@ -65,7 +65,7 @@ export default class ProjectRow extends React.PureComponent<Props> {
/>
</td>

<td className="nowrap">
<td className="nowrap hide-overflow" style={{ maxWidth: 400 }}>
<span className="note">{project.key}</span>
</td>


+ 12
- 2
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRow-test.tsx.snap View File

@@ -50,7 +50,12 @@ exports[`renders 1`] = `
/>
</td>
<td
className="nowrap"
className="nowrap hide-overflow"
style={
Object {
"maxWidth": 400,
}
}
>
<span
className="note"
@@ -139,7 +144,12 @@ exports[`renders 2`] = `
/>
</td>
<td
className="nowrap"
className="nowrap hide-overflow"
style={
Object {
"maxWidth": 400,
}
}
>
<span
className="note"

Loading…
Cancel
Save