From 05f1665a043e5ff131fd0bf6cccea09ed32fdac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 9 Apr 2021 09:16:33 +0200 Subject: [PATCH] Update theme --- .../gohugoio/gohugoioTheme/assets/css/_code.css | 10 +--------- _vendor/modules.txt | 2 +- go.mod | 2 +- go.sum | 2 ++ 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_code.css b/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_code.css index 2fb402fcf..66a2fc246 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_code.css +++ b/_vendor/github.com/gohugoio/gohugoioTheme/assets/css/_code.css @@ -9,12 +9,6 @@ margin: 0; } -pre, .pre { - overflow-x: auto; - overflow-y: hidden; - overflow: scroll; -} - code { padding: 0.2em; margin: 0; @@ -23,8 +17,7 @@ code { border-radius: 3px; } - -pre code { +pre code { display: block; padding: 1.5em 1.5em; font-size: .875rem; @@ -32,7 +25,6 @@ pre code { overflow-x: auto; } - pre { background-color: #fff; color: #333; diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 072777e35..ecff0980d 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# github.com/gohugoio/gohugoioTheme v0.0.0-20210409065807-6383d8cbaf65 +# github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7 diff --git a/go.mod b/go.mod index 359b27311..169f7967f 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/gohugoio/hugoDocs go 1.12 -require github.com/gohugoio/gohugoioTheme v0.0.0-20210409065807-6383d8cbaf65 // indirect +require github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7 // indirect diff --git a/go.sum b/go.sum index 5870c76f8..739466c4a 100644 --- a/go.sum +++ b/go.sum @@ -27,3 +27,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20210301124928-2c15837dfec3 h1:ShqzOFee github.com/gohugoio/gohugoioTheme v0.0.0-20210301124928-2c15837dfec3/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= github.com/gohugoio/gohugoioTheme v0.0.0-20210409065807-6383d8cbaf65 h1:EJzierSWKqwsrUXU6MaFe0J97c0e5pzl5dBNRRrV2Nc= github.com/gohugoio/gohugoioTheme v0.0.0-20210409065807-6383d8cbaf65/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs= +github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7 h1:uRCgPslaBgLYy4ANXBoPbBQVM8aNiHoxIZTKUXpkuUA= +github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=