Improve print stylesheet

- Preserve the aspect ratio of the canvas when it's scaled down
- Exclude things introduced by eye gaze mode
- Exclude selection/textbox, since their location relative to the canvas isn't preserved when the canvas is scaled down
main
Isaiah Odhner 2020-04-29 00:39:13 -04:00
parent 20e6191eb2
commit e221be2749
1 changed files with 9 additions and 2 deletions

View File

@ -9,18 +9,25 @@ html, body, .jspaint {
}
.canvas-area,
.canvas-area canvas {
.main-canvas {
position: fixed;
left: 0;
top: 0;
max-width: 100%;
width: auto !important;
height: auto !important;
}
.window,
.handle,
.status-area,
.menus,
.component-area {
.component-area,
.selection,
.textbox,
button,
.hover-halo,
.dwell-indicator {
display: none !important;
}