chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1025616
)
css: fix z-order for figure.m-figure.
author
Vladimír Vondruš
<mosra@centrum.cz>
Fri, 15 Sep 2017 11:08:04 +0000
(13:08 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 11 Oct 2017 19:54:40 +0000
(21:54 +0200)
css/m-components.css
patch
|
blob
|
history
diff --git
a/css/m-components.css
b/css/m-components.css
index b61e03e8979283313d6149d9de74dde4a6f01c8f..29077f9348937e20f1c784333d21367d9a0f851a 100644
(file)
--- 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: -1
000;
+ 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;