aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/fix-colorbars.md
blob: 5d4b4461581509dea40a62c3d5cc7c0371d2532d (plain)
1
2
3
4
5
6
7
8
9
10
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>