hide toc on smaller width devices (for now)
This commit is contained in:
parent
b050b36747
commit
8ba82c2911
@ -101,10 +101,11 @@ mjx-container {
|
|||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 60em) {
|
@media (max-width: 80em) {
|
||||||
/* CSS that should be displayed if width is equal to or less than 60em goes here */
|
/* CSS that should be displayed if width is equal to or less than 60em goes here */
|
||||||
#contentWrapper { flex-direction: column }
|
#contentWrapper { flex-direction: column }
|
||||||
#sidebar { position: static; width: 100%; max-width: none; }
|
#sidebar { position: static; width: 100%; max-width: none; height: auto; }
|
||||||
|
#tocWrapper { display: none }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,10 +38,12 @@
|
|||||||
page generated by <a href="https://git.alv.cx/alvierahman90/notes2web">notes2web</a>
|
page generated by <a href="https://git.alv.cx/alvierahman90/notes2web">notes2web</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="tocWrapper" style="width: 100%" >
|
||||||
<h3>Table of Contents</h3>
|
<h3>Table of Contents</h3>
|
||||||
<input id="search" placeholder="Search table of contents" />
|
<input id="search" width="100%" placeholder="Search table of contents" />
|
||||||
<div id="toc">$toc$</div>
|
<div id="toc">$toc$</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<details id="commitLog">
|
<details id="commitLog">
|
||||||
<summary class="smallText">
|
<summary class="smallText">
|
||||||
|
Reference in New Issue
Block a user