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() { function layoutFooterDiv() {
if (theme.footer.social && theme.footer.social.length > 0) { if (theme.footer.social && theme.footer.social.length > 0) {
var el = '<footer class="footer dis-select">'; 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]; const proj = theme.wiki.projects[page.wiki];
if (proj.repo) { if (proj.repo) {
el += '<div class="proj-wrap">'; el += '<div class="proj-wrap">';

View File

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