This commit is contained in:
xaoxuu 2021-07-04 23:54:09 +08:00
parent f7ff081871
commit 2c206fb72c
2 changed files with 3 additions and 5 deletions

View File

@ -26,7 +26,7 @@ function layoutWidgets() {
function layoutFooterDiv() {
if (theme.footer.social && theme.footer.social.length > 0) {
var el = '<footer class="footer dis-select">';
if (page.layout === 'wiki' && page.wiki) {
if (page.layout === 'wiki' && page.wiki && page.menu_id === 'wiki') {
const proj = theme.wiki.projects[page.wiki];
if (proj.repo) {
el += '<div class="proj-wrap">';

View File

@ -37,9 +37,7 @@
font-weight: 700
&:not(:only-child)
border-bottom: 1px solid var(--block-border)
&:hover
background: var(--block-hover)
&:after
&:hover:after
content: none
>.toc
padding: 4px