mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 04:34:40 -04:00
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.
This commit is contained in:
parent
43b5761788
commit
f27254d602
@ -4828,7 +4828,7 @@ pre {
|
||||
right: 50%;*/
|
||||
/*margin-left: -30vw;*/
|
||||
margin-right: -30vw;
|
||||
max-width: 100vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
.code-block .line-numbers-rows {
|
||||
|
Loading…
x
Reference in New Issue
Block a user