diff --git a/docs/index.html b/docs/index.html index 2fd8574..ae696b5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -128,9 +128,9 @@

Options

diff --git a/docs/style.css b/docs/style.css index 03ce95f..c4fbf75 100755 --- a/docs/style.css +++ b/docs/style.css @@ -28,12 +28,19 @@ } #link-snippet-container > pre { - overflow: auto; + overflow: hidden; grid-column: 1; grid-row: 1; transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1) 220ms; } +/* This is a really *really* evil hack to get around a half-char of overflow. */ +@media only screen and (min-width: 840px) { + #link-snippet-container > pre > code { + overflow: hidden; + } +} + #link-snippet-container > pre[hidden] { display: block; visibility: hidden;