chiark / gitweb /
css: fix z-order for figure.m-figure.
authorVladimír Vondruš <mosra@centrum.cz>
Fri, 15 Sep 2017 11:08:04 +0000 (13:08 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 11 Oct 2017 19:54:40 +0000 (21:54 +0200)
css/m-components.css

index b61e03e8979283313d6149d9de74dde4a6f01c8f..29077f9348937e20f1c784333d21367d9a0f851a 100644 (file)
@@ -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;