diff options
author | Martin Wright <martin@mysociety.org> | 2018-03-28 14:49:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-06 17:43:30 +0100 |
commit | b02794bd4f3070d302a965cd2b9e04d430a7cddc (patch) | |
tree | 3ec3a608843a94fda095e432517be3c0e0eec29f /web | |
parent | 80b41eed05751ea6975793d289be151f834d8db2 (diff) |
prevent label positioning from happening in IE9
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/sass/_dashboard.scss | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/cobrands/sass/_dashboard.scss b/web/cobrands/sass/_dashboard.scss index 094ce19a8..0fbff88e9 100644 --- a/web/cobrands/sass/_dashboard.scss +++ b/web/cobrands/sass/_dashboard.scss @@ -329,3 +329,23 @@ margin-top: -1px; } } + +.ie9 { + .labelled-line-chart, + .labelled-sparkline, + .responsive-bar-chart { + canvas { + height: 0 !important; + width: 0 !important; + display: none !important; + } + + } + .labelled-line-chart .label { + @media (min-width: 48em) { + position: static !important; + margin-top: inherit !important; + margin-#{$right}: 1.5em !important; + } + } +}
\ No newline at end of file |