Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Nov 9, 2021
1 parent 5b38fd8 commit 0ba5c4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions _layouts/specification.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="d-none col-lg-2 d-lg-block">
</div>

<div class="col-lg-7 col-xl-8" role="navigation" aria-label="Main">
<div class="col-lg-7" role="navigation" aria-label="Main">
<h1>{{ page.schemaTitle }}</h1>

<div class="d-block d-lg-none dap-sidebar">
Expand Down Expand Up @@ -40,7 +40,7 @@ <h1>{{ page.schemaTitle }}</h1>
<div id="markdown-content-container">{{ content }}</div>
</div>

<div class="d-none col-lg-3 col-xl-2 d-lg-block dap-sidebar">
<div class="d-none col-lg-3 d-lg-block dap-sidebar">
{% for toc-l1 in site.data.specification-toc %}
<div class="card">
<div id="outlineAccordion-side" data-children=".item">
Expand All @@ -67,4 +67,4 @@ <h1>{{ page.schemaTitle }}</h1>
{% endfor %}
</div>
</div>
</div>
</div>
8 changes: 4 additions & 4 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ h2 {
display: block;
}

h3 .anchor {
scroll-margin-top: 70px;
}

pre[class=highlight] {
padding: 9.5px;
overflow: auto;
Expand Down Expand Up @@ -426,6 +422,10 @@ pre[class=highlight] {
height: calc(100vh - 110px);
overflow: auto;
}

h3 .anchor {
scroll-margin-top: 70px;
}
}

@media (max-width: 991px) {
Expand Down

0 comments on commit 0ba5c4a

Please sign in to comment.