1
0
mirror of https://github.com/golang/go synced 2024-11-05 20:06:10 -07:00
go/cmd/present
tell-k 85a87a81a9 cmd/present: fix CSS when printing slides
The existing CSS style was causing slides to not align with page
boundaries when printing slides. The cause of that is the CSS transform
property that is applied to automatically scale size of slides.
This change clears the transform property just before printing.

Fixes golang/go#29480

Change-Id: I6f719ad1b716e9bda8ba83007c3d1d7dece9ce08
GitHub-Last-Rev: d46dfee57601b2e9127c5e8e80e596dc2a2f24fa
GitHub-Pull-Request: golang/tools#67
Reviewed-on: https://go-review.googlesource.com/c/155940
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-01-23 18:36:29 +00:00
..
static cmd/present: fix CSS when printing slides 2019-01-23 18:36:29 +00:00
templates cmd/present: display slide numbers 2018-04-13 16:54:21 +00:00
dir.go cmd/present: merge appengine and non-appengine files 2018-10-10 21:11:20 +00:00
doc.go cmd/present: merge appengine and non-appengine files 2018-10-10 21:11:20 +00:00
main.go cmd/present: address minor comments not applied in a previous change 2018-10-13 14:52:46 +00:00
play.go cmd/present: merge appengine and non-appengine files 2018-10-10 21:11:20 +00:00