Skip to content

Commit

Permalink
Merge pull request #49 from gristlabs/notepad-printing
Browse files Browse the repository at this point in the history
Updating css for printing in notepad widget
  • Loading branch information
berhalak authored Jul 13, 2023
2 parents 10aec2d + dceb3a9 commit d668c8c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions notepad/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,26 @@ body {
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
content: 'Regular'
}

@media print {
html, body {
height: unset !important;
width: 100%;
margin: 0 !important;
padding: 0;
overflow: unset;
}
@page {
margin: 0 !important;
}
.ql-editor {
overflow: initial !important;
}
/* remove the scrollbars */
.ql-container {
overflow: unset !important;
}
.ql-toolbar {
display: none;
}
}

0 comments on commit d668c8c

Please sign in to comment.