Skip to content

Commit fd4c60d

Browse files
committed
Fix 'view plain text' tab to show properly
1 parent ddb1fe9 commit fd4c60d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

js/site.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ $(document).ready(function() {
135135
plain_text_view.append("view plain text")
136136
var div = $("<div>").addClass("plain-text-link").append(plain_text_view)
137137
div.insertBefore(this);
138-
$(this).addClass("has-view-text-link");
138+
$(this).addClass("has-view-text-link code");
139139
});
140140
};
141141

sass/style.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ h1, h2, h3 {
336336
margin-top: 0px;
337337
border-top-left-radius: 0px;
338338
border-top-right-radius: 0px;
339-
border-top: 0px;
340339
}
341340

342341
pre.wrap {
@@ -380,7 +379,7 @@ h1, h2, h3 {
380379
@media (min-width: 400px) {
381380
margin-right: 1em; /* match <pre> tag margin */
382381
}
383-
@extend .primary-2;
382+
@include background-image(linear-gradient(top, darken($primary-2, 8%) 0%, $primary-2 100%));
384383
border-left: 1px solid $primary-5;
385384
border-right: 1px solid $primary-5;
386385
border-top: 1px solid $primary-5;

0 commit comments

Comments
 (0)