From e05f39004025cd82d4bc6b9b7b308e5b2b90cd58 Mon Sep 17 00:00:00 2001 From: David Schnur Date: Tue, 22 Jan 2013 21:25:10 -0600 Subject: [PATCH] Fix plot legend padding. Added explicit border-spacing to compensate for global removal of padding. Flot should really take care of this itself; layout-critical styles shouldn't depend on the user-agent defaults. --- examples/examples.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/examples.css b/examples/examples.css index 147465c..8616754 100644 --- a/examples/examples.css +++ b/examples/examples.css @@ -69,4 +69,10 @@ p { #placeholder { width: 100%; height: 100%; + font-size: 14px; + line-height: 14px; } + +.legend table { + border-spacing: 5px; +} \ No newline at end of file