This commit is contained in:
parent
81a5ebc419
commit
130acb922e
@ -37,7 +37,7 @@ export default ((userOpts?: Partial<Options>) => {
|
||||
const remaining = Math.max(0, pages.length - opts.limit)
|
||||
return (
|
||||
<div class={classNames(displayClass, "recent-notes")}>
|
||||
<h3>{opts.title ?? i18n(cfg.locale).components.recentNotes.title}</h3>
|
||||
<span>{opts.title ?? i18n(cfg.locale).components.recentNotes.title}</span>
|
||||
<ul class="recent-ul">
|
||||
{pages.slice(0, opts.limit).map((page) => {
|
||||
const title = page.frontmatter?.title ?? i18n(cfg.locale).propertyDefaults.title
|
||||
|
@ -18,7 +18,7 @@ a.internal {
|
||||
padding: 0 .3rem;
|
||||
}
|
||||
|
||||
.recent-notes>ul.recent-ul>li .section>.desc>h3>a {
|
||||
.recent-notes>ul.recent-ul>li .section>.desc>span>a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user