#610: style: fix border radius for code snippets without a header
This commit is contained in:
parent
661f5fd89f
commit
9f80a27bad
|
@ -35,7 +35,7 @@
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
margin-bottom: $unit * 3;
|
margin-bottom: $unit * 3;
|
||||||
// box-shadow: 0px 2px 5px rgba($coal, .3);
|
// box-shadow: 0px 2px 5px rgba($coal, .3);
|
||||||
border-radius: 0px 0px 4px 4px;
|
border-radius: 4px;
|
||||||
padding: ($unit * 2) ($unit * 4);
|
padding: ($unit * 2) ($unit * 4);
|
||||||
|
|
||||||
&.linenums,
|
&.linenums,
|
||||||
|
|
|
@ -10,4 +10,8 @@
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
// temporary hack to remove space between example title and code-example
|
// temporary hack to remove space between example title and code-example
|
||||||
margin-bottom: -18px;
|
margin-bottom: -18px;
|
||||||
|
z-index: 1;
|
||||||
|
position: relative;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue