Some minor fixes

This commit is contained in:
Mimi 2020-08-13 01:16:09 +08:00
parent ee5b41f41c
commit 760fdc9bd2
4 changed files with 5 additions and 4 deletions

View File

@ -610,7 +610,7 @@ valine:
appKey: # Your leancloud application appkey
placeholder: Just go go # Comment box placeholder
avatar: mm # Gravatar style
meta: [] # Custom comment header: [nick, mail, link]
meta: [nick, mail, link] # Custom comment header
pageSize: 10 # Pagination size
lang: # Language, available values: en, zh-cn
visitor: false # Article reading statistic

View File

@ -73,7 +73,7 @@ sidebar-inline-links-item() {
a, span.exturl {
box-sizing: border-box;
display: inline-block;
max-width: 216px;
max-width: 100%;
overflow: hidden;
padding: 0 5px;
text-overflow: ellipsis;

View File

@ -71,11 +71,11 @@
a, span.exturl {
border-bottom: none;
border-radius: 4px;
display: block;
&:hover {
background: var(--body-bg-color);
border-radius: 4px;
}
}
}
@ -83,6 +83,7 @@
.links-of-blogroll-item {
if (hexo-config('links_settings.layout') == 'inline') {
display: inline-block;
max-width: 100%;
sidebar-inline-links-item();
}
}

View File

@ -15,7 +15,7 @@ document.addEventListener('DOMContentLoaded', () => {
});
window.pjax && search.on('render', () => {
window.pjax.refresh(document.getElementById('algolia-hits'));
window.pjax.refresh(document.querySelector('.algolia-hits'));
});
// Registering Widgets