recent-notes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-09-06 23:43:31 +03:00
parent 81a5ebc419
commit 130acb922e
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ export default ((userOpts?: Partial<Options>) => {
const remaining = Math.max(0, pages.length - opts.limit) const remaining = Math.max(0, pages.length - opts.limit)
return ( return (
<div class={classNames(displayClass, "recent-notes")}> <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"> <ul class="recent-ul">
{pages.slice(0, opts.limit).map((page) => { {pages.slice(0, opts.limit).map((page) => {
const title = page.frontmatter?.title ?? i18n(cfg.locale).propertyDefaults.title const title = page.frontmatter?.title ?? i18n(cfg.locale).propertyDefaults.title

View File

@ -18,7 +18,7 @@ a.internal {
padding: 0 .3rem; 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; padding: 0;
} }