Skip to content

Commit

Permalink
chore: refine waline css
Browse files Browse the repository at this point in the history
  • Loading branch information
alomerry committed Feb 14, 2024
1 parent c43346c commit ad729d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blog/src/alomerry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import dayjs from 'dayjs'
export function formatDateByAlomerry(d: string | Date, onlyDate = true) {
const date = dayjs(d)
if (onlyDate || date.year() === dayjs().year())
return date.format('MM-D')
return date.format('MM-D, YYYY')
return date.format('MMM D')
return date.format('MMM D, YYYY')
}
4 changes: 2 additions & 2 deletions blog/src/styles/alomerry.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
.v-leave-to {
opacity: 0;
}

.prose .wl-login-info a,
.prose .wl-footer a {
border-bottom: unset;
}

.prose .wl-footer a[title*='Markdown Guide'] {
width: 16px !important;
}

.prose .wl-avatar img,
.prose .wl-footer img,
.prose .wl-reaction img {
margin-top: unset;
Expand Down

0 comments on commit ad729d4

Please sign in to comment.