Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Santos <hello@brighterdan.com>2020-06-19 18:04:04 +0300
committerGitHub <noreply@github.com>2020-06-19 18:04:04 +0300
commitf27254d6023454cfde262f9b3feb8289ca2e5ff4 (patch)
treeb312d7412e1910f0ee475cc9b2000fa127289113 /_vendor
parent43b57617885b9d7373efae6578f01dda1f7dc91a (diff)
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.
Diffstat (limited to '_vendor')
-rw-r--r--_vendor/github.com/gohugoio/gohugoioTheme/assets/output/css/app.css2
1 files changed, 1 insertions, 1 deletions
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 {