From 162dade1330fe053e7ceab8ed025403fe8c17ff6 Mon Sep 17 00:00:00 2001 From: ChaYoung You Date: Thu, 12 Jun 2014 04:33:28 +0900 Subject: [PATCH] Fix Gist embedded code layout --- .themes/classic/sass/partials/_syntax.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.themes/classic/sass/partials/_syntax.scss b/.themes/classic/sass/partials/_syntax.scss index 5465286fdee..9ed8bf55675 100644 --- a/.themes/classic/sass/partials/_syntax.scss +++ b/.themes/classic/sass/partials/_syntax.scss @@ -1,5 +1,5 @@ .highlight, html .gist .gist-file .gist-syntax .gist-highlight { - table td.code { width: 100%; } + table td.code, td.line-data { width: 100%; } border: 1px solid $pre-border !important; } .highlight .line-numbers, html .gist .gist-file .gist-syntax .highlight .line_numbers { @@ -46,6 +46,7 @@ html .gist .gist-file { } .highlight pre { @extend .pre-code; + font-size: 13px; padding: 0; } } @@ -69,7 +70,7 @@ html .gist .gist-file { &:hover { color: $base1 !important; } } a[href*='#file'] { - position: absolute; top: 0; left:0; right:-10px; + position: absolute; top: 0; left:0; right:0; color: #474747 !important; @extend .code-title; &:hover { color: $link-color !important; }