-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add styles to support printing the tutorial #771
base: master
Are you sure you want to change the base?
Conversation
Thanks. I tried it and it looks ok. However, there's a CI failure due to the "prettier" formatter. |
9d23a80
to
71c5c32
Compare
Thanks, it should be fixed now. I also added a bit of detail to the first commit's subject and description. |
@Darksonn Would you mind re-approving the CI workflow? It should pass now. |
@sruggier I just re-ran tests. (It seems that some tests are still failing, though) |
71c5c32
to
666e62d
Compare
666e62d
to
daa9dfe
Compare
This makes it much easier to export the documentation to PDF or paper for offline reading.
The scroll bars are fine in a browser, but not so useful in a PDF file or on a printed page.
daa9dfe
to
6e26f7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, I left a comment about dependency addition, but otherwise looks good to me!
@@ -79,6 +79,7 @@ $footer-background-color: black; | |||
$footer-color: white; | |||
|
|||
@import "../node_modules/bulma/bulma.sass"; | |||
@import "../node_modules/bulma-print/bulma-print"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently, what this import refers to is just a few lines of CSS, so I think we can simply paste it inline in styles/styles.scss
rather than adding bulma-print. What do you think?
(Also, it seems that bulma-print
library hasn't been updated for some time.)
This makes it possible to save an offline copy of the tutorial to PDF or paper.