mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Some minor fixes
This commit is contained in:
parent
ee5b41f41c
commit
760fdc9bd2
@ -610,7 +610,7 @@ valine:
|
|||||||
appKey: # Your leancloud application appkey
|
appKey: # Your leancloud application appkey
|
||||||
placeholder: Just go go # Comment box placeholder
|
placeholder: Just go go # Comment box placeholder
|
||||||
avatar: mm # Gravatar style
|
avatar: mm # Gravatar style
|
||||||
meta: [] # Custom comment header: [nick, mail, link]
|
meta: [nick, mail, link] # Custom comment header
|
||||||
pageSize: 10 # Pagination size
|
pageSize: 10 # Pagination size
|
||||||
lang: # Language, available values: en, zh-cn
|
lang: # Language, available values: en, zh-cn
|
||||||
visitor: false # Article reading statistic
|
visitor: false # Article reading statistic
|
||||||
|
|||||||
@ -73,7 +73,7 @@ sidebar-inline-links-item() {
|
|||||||
a, span.exturl {
|
a, span.exturl {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 216px;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
@ -71,11 +71,11 @@
|
|||||||
|
|
||||||
a, span.exturl {
|
a, span.exturl {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
border-radius: 4px;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--body-bg-color);
|
background: var(--body-bg-color);
|
||||||
border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -83,6 +83,7 @@
|
|||||||
.links-of-blogroll-item {
|
.links-of-blogroll-item {
|
||||||
if (hexo-config('links_settings.layout') == 'inline') {
|
if (hexo-config('links_settings.layout') == 'inline') {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
max-width: 100%;
|
||||||
sidebar-inline-links-item();
|
sidebar-inline-links-item();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
window.pjax && search.on('render', () => {
|
window.pjax && search.on('render', () => {
|
||||||
window.pjax.refresh(document.getElementById('algolia-hits'));
|
window.pjax.refresh(document.querySelector('.algolia-hits'));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Registering Widgets
|
// Registering Widgets
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user