diff options
Diffstat (limited to 'layouts/shortcodes/fix-colorbars.md')
-rw-r--r-- | layouts/shortcodes/fix-colorbars.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/shortcodes/fix-colorbars.md b/layouts/shortcodes/fix-colorbars.md new file mode 100644 index 0000000..5d4b446 --- /dev/null +++ b/layouts/shortcodes/fix-colorbars.md @@ -0,0 +1,11 @@ +<style> +/* Super gross hack to fix stupid colorbars clipping out bug */ +/* :has requires a relatively modern browser */ +.mpld3-staticpaths:has(:nth-child(10)) { + transform: rotate(180deg) translate(-520px,-423px); +} +.mpld3-figure { + display: block; + margin: auto; +} +</style> |