Bug 38711: Wrong font-weight in tables during printing from staff interface

Fix last columns of tables to be printed in `bold`. This affects
various functions of Koha e.g. Notices and Slips, Pages etc.

1. Go to `Home / Tools / Additional content / Pages`
2. Select `Add new entry using text editor`
3. Add the following html

```html
<table>
   <tbody>
      <tr>
         <td>col 11</td>
         <td>col 12</td>
      </tr>
      <tr>
         <td>col 21</td>
         <td>col 22</td>
      </tr>
</tbody>
</table>
```

4. Save
5. Use the `Staff`-URL from `Additional content: Pages`
   to open the page in a new tab
6. Select `File / Print`
   (or fire up the dev console via F12 and apply the Print-css)
7. The entries `col 12` and `col 22` appear in bold face.
8. Apply the patch
9. Reload the page
10. The entries `col 12` and `col 22` appear in normal font.

Sponsored-by: Deutsches Elektronen-Synchrotron DESY, Library
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ec0ced1652)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Alexander Wagner 2024-12-17 11:12:15 +01:00 committed by Paul Derscheid
parent 823faed9a5
commit e33343ccd6
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 0 additions and 1 deletions

View File

@ -157,7 +157,6 @@ th:first-child {
border-left: 0;
}
td:last-child,
th:last-child {
background-color: #E9E9E9;
border-bottom: 1px solid #CCCCCC;