Fix display of sidebar when JS is disabled
This commit is contained in:
parent
35ed24cd18
commit
ac3a7faa54
2 changed files with 6 additions and 3 deletions
|
|
@ -421,11 +421,14 @@ ul#searchresults span.teaser em {
|
||||||
color: var(--sidebar-fg);
|
color: var(--sidebar-fg);
|
||||||
}
|
}
|
||||||
.sidebar-iframe-inner {
|
.sidebar-iframe-inner {
|
||||||
|
--padding: 10px;
|
||||||
|
|
||||||
background-color: var(--sidebar-bg);
|
background-color: var(--sidebar-bg);
|
||||||
color: var(--sidebar-fg);
|
padding: var(--padding);
|
||||||
padding: 10px 10px;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
color: var(--sidebar-fg);
|
||||||
|
min-height: calc(100vh - var(--padding) * 2);
|
||||||
}
|
}
|
||||||
.sidebar-iframe-outer {
|
.sidebar-iframe-outer {
|
||||||
border: none;
|
border: none;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
--content-max-width: 750px;
|
--content-max-width: 750px;
|
||||||
--menu-bar-height: 50px;
|
--menu-bar-height: 50px;
|
||||||
--mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
|
--mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
|
||||||
--code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */
|
--code-font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Themes */
|
/* Themes */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue