From f27254d6023454cfde262f9b3feb8289ca2e5ff4 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Fri, 19 Jun 2020 16:04:04 +0100 Subject: [PATCH] css fix of expanding code box in documentation (#1155) The code sample box in Hugo code samples expanded on mouse over to 100vw which went over the sidebar toc. This solution solves this looking better and expanding only over the middle column. --- .../github.com/gohugoio/gohugoioTheme/assets/output/css/app.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css b/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css index c08fbc9dc..9a0f62830 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css +++ b/_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css @@ -4828,7 +4828,7 @@ pre { right: 50%;*/ /*margin-left: -30vw;*/ margin-right: -30vw; - max-width: 100vw; + max-width: 50vw; } } .code-block .line-numbers-rows {