From 3d626312e66131166102068732e6d85a78072287 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 15 Sep 2017 13:08:04 +0200 Subject: [PATCH] css: fix z-order for figure.m-figure. --- css/m-components.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2