#610: style: fix border radius for code snippets without a header

This commit is contained in:
Nadi 2015-12-27 02:54:48 -08:00 committed by Naomi Black
parent 661f5fd89f
commit 9f80a27bad
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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;
} }