From b0c5d32a726f38ab4a4474bed3879a4b48e8a8ec Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Fri, 17 Feb 2012 17:27:46 +0800 Subject: resolve code block title wrong position when scrolling --- sass/parts/_syntax.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss index 839f482..b939984 100644 --- a/sass/parts/_syntax.scss +++ b/sass/parts/_syntax.scss @@ -49,7 +49,6 @@ figure.code{ margin-top: 10px; border: 1px solid $gray03; line-height: 1.5; - overflow-x: auto; @include border-radius(5px); figcaption{ font-size: $meta-size; @@ -69,6 +68,9 @@ figure.code{ right: 0; } } + .highlight{ + overflow-x: auto; + } .line-numbers{ border-right: 1px solid $gray03; color: #000; -- cgit v1.1-2-g2b99