Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Print able page #137

Open
wangkanai opened this issue Aug 10, 2018 · 2 comments
Open

Print able page #137

wangkanai opened this issue Aug 10, 2018 · 2 comments

Comments

@wangkanai
Copy link

Please add support for print able page that hide the navigation.

Best regards,

Sarin Na Wangkanai

image

@wangkanai
Copy link
Author

I have an example of scss that will help with this.

@media print {
    body{ 
        background: #fff;
    }
    .doc-sidebar{        
        visibility: hidden;
        width: 0;
    }
    .doc-content {
        transform: translateX(0);
        width: 100%;                
    }
    .dc-card{
        box-shadow: none;
    }
}

image

@rbarilani
Copy link
Contributor

@wangkanai Cool do you want to contribute?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants