From: Vladimír Vondruš Date: Fri, 15 Sep 2017 11:08:04 +0000 (+0200) Subject: css: fix z-order for figure.m-figure. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=3d626312e66131166102068732e6d85a78072287;p=blog.git css: fix z-order for figure.m-figure. --- diff --git a/css/m-components.css b/css/m-components.css index b61e03e8..29077f93 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -787,7 +787,7 @@ figure.m-figure:before { bottom: 0; left: 0; right: 0; - z-index: -1000; + z-index: -1; /* so it doesn't make the contents inactive */ border-style: solid; border-width: 0.125rem; border-radius: 0.2rem; @@ -807,6 +807,7 @@ figure.m-figure:after { height: 1px; } figure.m-figure img { + position: relative; /* so it's above the border */ margin-left: 0; margin-right: 0; margin-bottom: 0;