# Bug OP-19807 - PDF exports: borderless tables still have left and right border paddings

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / PDF Export |
| Target versions | 17.8.0 |
| Observed in versions | 17.6.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.6.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 |  |
| Product manager |  |
| Developers | Andrej Sandorf |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as a user with permissions to export to PDF
    
2.  Have a table without a border, e.g. in a work package description
    
3.  Export to PDF (any template is fine)
    

### What is the buggy behavior?

*   The table still has paddings to its left and right side as if it had borders
    

### What is the expected behavior?

*   The table starts at the full left margin of the page and ends at the full right margin
    

### Screenshots and other files

<img class="image_resized op-uc-image op-uc-image_inline" style="width:480px;" src="/api/v3/attachments/923031/content">

### Technical note

This needs to be fixed in [md\_to\_pdf](https://github.com/opf/md-to-pdf). Just removing the padding in the styling would lead to problems when exporting tables that have borders and need that padding. So this has to be done dynamically.  
  

### Environment information

**OpenProject installation type**

*   All
    

**OpenProject version**

v17.6

**Browser**

*   All
    

**Operating System**

*   All
    

**Language**

*   All
