AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Data Studio
2.7K members online now
2.7K members online now
Ask questions about Data Studio
Guide Me
star_border
Reply
Highlighted

@media print styles in embedded report causes blank report when printing

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Found this CSS in an embedded report in an iframe:

<code> @media print { @page { size: letter landscape; margin: 23px 15px; } .lego-reporting-view { display: block !important; -moz-transform-origin: 0 0 !important; -webkit-transform-origin: 0 0 !important; transform-origin: 0 0 !important; -moz-transform: scaleX(0.746705710102489) scaleY(0.746705710102489) !important; -webkit-transform: scaleX(0.746705710102489) scaleY(0.746705710102489) !important; transform: scaleX(0.746705710102489) scaleY(0.746705710102489) !important; } } </code>

 

Strangely, if i remove the tranforms the report appears (albeit wrongly-sized) in the print preview!

The transfoms are causing the entire report to disappear from print preview regardless of the values on scaleX and Y...

 

Is this a bug?

Thanks.