Created
March 11, 2018 08:07
-
-
Save makyen/0e3d58992a9bc5e0a54145509cdf9a3f to your computer and use it in GitHub Desktop.
Userscript to limit the height of post-body pre blocks on metasmoke
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Limit pre on metasmoke | |
// @namespace MakyenmetasmokeAdjustments | |
// @description Limit the height of post-body pre blocks on metasmoke | |
// @match https://metasmoke.erwaysoftware.com/* | |
// @version 1.0.0 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
$(document.head).append(` | |
<style> | |
pre.post-body-pre-block { | |
overflow: auto; | |
max-height: 450px; | |
} | |
</style> | |
`); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment