8000 Printing long tables causes repeated header to overlap with content · Issue #1939 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

Skip to content

Printing long tables causes repeated header to overlap with content #1939

@timvink

Description

@timvink

I checked that...

  • ... the documentation does not mention anything about my problem
  • ... the problem doesn't occur with the default MkDocs template
  • ... the problem is not in any of my customizations (CSS, JS, template)
  • ... there are no open or closed issues that are related to my problem

Description

When printing tables that are longer than 1 page, the header is repeated but overlaps with the content.

Expected behavior

Repeating the header is fine, but it should not overlap with content.

Actual behavior

It's overlapping:

image

Steps to reproduce the bug

Insert a long markdown table into a page and go to File > Print and look at the print preview.

I made a reproducible, minimal example. View it with:

git clone git@github.com:timvink/mkdocs-print-site-plugin.git
cd mkdocs-print-site-plugin
git checkout 7d787b5902cabbcf3c5cf9ffce85e64eb150b2fd
mkdocs serve -f tests/fixtures/projects/tables/mkdocs.yml

Package versions

Python 3.7.4
mkdocs, version 1.1.2
Material Version: 5.5.12

System information

  • OS: MacOS
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0