From 57b6c6c1981c2090700917d185e043fa38173975 Mon Sep 17 00:00:00 2001 From: Alplob Date: Fri, 27 Mar 2015 12:01:05 +0800 Subject: [PATCH] Prevent printing hover legend --- morris.css | 1 + 1 file changed, 1 insertion(+) diff --git a/morris.css b/morris.css index 209f091..c8cb146 100644 --- a/morris.css +++ b/morris.css @@ -1,2 +1,3 @@ .morris-hover{position:absolute;z-index:1000}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255,255,255,0.8);border:solid 2px rgba(230,230,230,0.8);font-family:sans-serif;font-size:12px;text-align:center}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0} .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0} +@media print { .morris-hover{ display:none; } }