mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Remove extra scroll bar in toc
This commit is contained in:
@@ -22,14 +22,14 @@ website.
|
||||
The top level of a source directory will typically have the following elements:
|
||||
|
||||
```bash
|
||||
▸ archetypes/
|
||||
▸ content/
|
||||
▸ data/
|
||||
▸ i18n/
|
||||
▸ layouts/
|
||||
▸ static/
|
||||
▸ themes/
|
||||
config.toml
|
||||
.
|
||||
├── archetypes
|
||||
├── config.toml
|
||||
├── content
|
||||
├── data
|
||||
├── layouts
|
||||
├── static
|
||||
└── themes
|
||||
```
|
||||
|
||||
You can learn more about each component of a newly scaffolded site in its respective documentation:
|
||||
|
||||
@@ -41,7 +41,6 @@ aside#toc {
|
||||
position: relative;
|
||||
min-height: calc(100vh - #{$site-header-height} - #{$site-footer-height-l-plus});
|
||||
max-height: calc(100vh - #{$site-header-height});
|
||||
overflow-y: scroll;
|
||||
}
|
||||
box-shadow: none;
|
||||
top: $site-header-height;
|
||||
@@ -65,7 +64,7 @@ nav#TableOfContents {
|
||||
position: relative;
|
||||
// margin-bottom: 20px;
|
||||
height: auto;
|
||||
overflow-y: scroll;
|
||||
// overflow-y: scroll;
|
||||
li code {
|
||||
font-family: $base-font-family;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user