From 6759731a2f9fb4245dc32726e5ea4a49ef293bbf Mon Sep 17 00:00:00 2001 From: Maik Kulbe Date: Thu, 20 Jun 2013 14:41:08 +0200 Subject: [PATCH] Fixed invisible scrollbars on pre and blockquote tags --- css/items.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/css/items.css b/css/items.css index 7ffd8bab5..7f5307a32 100644 --- a/css/items.css +++ b/css/items.css @@ -259,7 +259,7 @@ } .feed_item .body pre, - .feed_item .body blockquote { + .feed_item .body blockquote { padding: 7px 7px 7px 14px; background-color: #dadada; border: 1px solid #ccc; @@ -271,6 +271,20 @@ background-image: -ms-linear-gradient(top, rgb(215,215,215) 0%, rgb(220,220,220) 100%); overflow-y: auto; } + .feed_item .body pre::-webkit-scrollbar, + .feed_item .body blockquote::-webkit-scrollbar { + height: 10px; + } + + .feed_item .body pre::-webkit-scrollbar-thumb, + .feed_item .body blockquote::-webkit-scrollbar-thumb { + background: #333; + } + + .feed_item .body pre::-webkit-scrollbar-track-piece, + .feed_item .body blockquote::-webkit-scrollbar-track-piece { + background: #ddd; + } .feed_item .body code, .feed_item .body pre {