Skip to content

Commit e96ae2c

Browse files
committed
SP-563 Fixes visualization issues in HTML report
1 parent 1c1e117 commit e96ae2c

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

Diff for: CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
### [0.11.5](https://github.com/scanoss/scanoss.js/compare/v0.11.4...v0.11.5) (2024-04-17)
5+
### [0.11.5](https://github.com/scanoss/scanoss.js/compare/v0.11.4...v0.11.5) (2024-04-19)
66

77
### [0.11.4](https://github.com/scanoss/scanoss.js/compare/v0.11.3...v0.11.4) (2024-04-02)
88

Diff for: assets/ReportHTMLTemplate/index.html

+23-8
Original file line numberDiff line numberDiff line change
@@ -322,14 +322,20 @@
322322
color: rgb(24, 24, 27)
323323
}
324324

325+
.info .v-label{
326+
justify-content: flex-end;
327+
}
328+
329+
.info .v-value{
330+
justify-content: flex-end;
331+
}
332+
325333
.row-license-info-container {
326-
display: flex;
327334
width: 100%;
328335
}
329336

330337
td.cell-info-container {
331-
width: 30%;
332-
display: flex;
338+
word-break: break-word;
333339
}
334340

335341
td.cell-info-container:last-child {
@@ -341,8 +347,12 @@
341347
}
342348

343349
td.cell-info-container.index {
344-
width: 10%;
350+
width: 50px;
351+
}
345352

353+
td.cell-info-container.version {
354+
width: 20%;
355+
word-break: break-all;
346356
}
347357

348358
.row-info-container {
@@ -446,6 +456,11 @@
446456
table.main-table td:first-child {
447457
font-weight: 600;
448458
}
459+
460+
#table-components td, #table-dependencies td, #table-components td, #table-cryptography td {
461+
word-break: break-word;
462+
}
463+
449464
</style>
450465

451466

@@ -985,14 +1000,14 @@ <h4>License obligations</h4>
9851000
</div>
9861001
</div>
9871002
</td>
988-
<td class="cell-info-container">
1003+
<td class="cell-info-container version">
9891004
<div class="row-info-container">
9901005
<div class="info">
991-
<div class="label">
1006+
<div class="label v-label">
9921007
${c.versions.length > 1 ? 'Versions' : 'Version'}
9931008
</div>
994-
<div class="value small">
995-
${c.versions.toString()}
1009+
<div class="value small v-value">
1010+
${c.versions.join(', ').toString()}
9961011
</div>
9971012
</div>
9981013
</div>

0 commit comments

Comments
 (0)