Skip to content

Docs - Improve layout styles for print media #1425

Closed
@NiloCK

Description

@NiloCK

image

Printing documentation from the website results is a big mess. The TOC, Sponsors, and header overlay the main content on every printed page.

I'm unfamiliar with the build process of these docs. It would be hard for me to make these changes and test the result. I suspect that this issue would be fixed by adding something to the effect of

@media print
    .sidebar
        display: none

to the following files:

https://github.com/vuejs/vuejs.org/blob/master/themes/vue/source/css/_sidebar.styl
https://github.com/vuejs/vuejs.org/blob/master/themes/vue/source/css/_header.styl
https://github.com/vuejs/vuejs.org/blob/master/themes/vue/source/css/_sponsors-sidebar.styl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions