summaryrefslogtreecommitdiffstats
path: root/sass/parts
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-02-17 10:27:46 +0100
committerSkyArrow <tommy351@gmail.com>2012-02-17 10:34:52 +0100
commitb0c5d32a726f38ab4a4474bed3879a4b48e8a8ec (patch)
tree428a4fed57d2850e25e0d87259dc88966318d11c /sass/parts
parent934af494392bd3c6ba443150dbef285f80c99277 (diff)
downloadoctopress-theme-jeyzu-b0c5d32a726f38ab4a4474bed3879a4b48e8a8ec.zip
octopress-theme-jeyzu-b0c5d32a726f38ab4a4474bed3879a4b48e8a8ec.tar.gz
resolve code block title wrong position when scrolling
Diffstat (limited to 'sass/parts')
-rw-r--r--sass/parts/_syntax.scss4
1 files changed, 3 insertions, 1 deletions
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;