Skip to content

Commit

Permalink
fix: Fix css for testruns (#210)
Browse files Browse the repository at this point in the history
Refs: #192
  • Loading branch information
yurtsevich-sbb authored Sep 17, 2024
1 parent fea02d6 commit fada1ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,15 @@ In version 7.0.0 `/export-filename` REST API endpoint changed. As a result, if t
`DocumentType` enum in `ExportParams` has been changed. As a result, if enum values have been used, it's required to adjust the calls accordingly.
Main package has been renamed from `ch.sbb.polarion.extension.pdf.exporter` to `ch.sbb.polarion.extension.pdf_exporter`. As a result, if the extension has been used in another OSGi bundles, it's required to adjust the package imports accordingly.

There was also added a CSS fragment for better display of Test Run pages in PDF, please add this fragment to your CSS definitions if they differ from default one, or update your CSS definitions via UI clicking button "Default" and later saving it. Here is this fragment:
```css
#polarion-rp-widget-content > .polarion-TestRunOverviewWidget-table > tbody > tr > td:first-child {
width: 46% !important;
}
.polarion-TestRunOverviewWidget-buttonName {
padding-top: 20px;
}
```

### Upgrade from version 5.x.x to 6.0.0

Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/default/dle-pdf-export.css
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,9 @@ table.polarion-rp-column-layout td {
#polarion-rp-parameters, #polarion-rp-page-script {
display: none;
}
#polarion-rp-widget-content > .polarion-TestRunOverviewWidget-table > tbody > tr > td:first-child {
width: 46% !important;
}
.polarion-TestRunOverviewWidget-buttonName {
padding-top: 20px;
}

0 comments on commit fada1ad

Please sign in to comment.