# Bug OP-16682 - PDF Export: table cell border/background styles definition in yml file is ignored

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16682

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.3.2 |
| Observed in versions | 15.3.0 |
| Sprint | 15.3.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.3.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Andrej Sandorf |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

Note to QA: this is not testable by you :)

### Steps to reproduce

*   Edit &nbsp; `app/models/work_package/pdf_export/export/standard.yml` to set default table cell border/background settings e.g. border\_color like
    

```text
    html_table:
      auto_width: true
      margin_top: 4
      margin_bottom: 4
      header:
        background_color: "F0F0F0"
        size: 9
        styles: [ "bold" ]
        padding: 5
        border_width: 0.25
        border_color: "000000"
      cell:
        size: 8
        padding: 5
        border_width: 0.25
        border_color: "000000"
```

*   Go to a work package
    
*   Add a table (with or without a header row)
    
*   Export the work package as PDF (either as a report or single work package export)
    

### What is the buggy behavior?

*   Settings are ignored (border/background colors are not applied)
    

### What is the expected behavior?

*   Settings are applied
    

**OpenProject version**

15.3.x

**Browser**

*   [x] All

**Operating System**

*   [x] All

**Language**

*   [x] All
