fix: 🐛

This commit is contained in:
codytseng
2025-01-26 22:10:14 +08:00
parent 8ef1afc4b9
commit dd5e7e1acb
2 changed files with 8 additions and 5 deletions

View File

@@ -194,7 +194,7 @@ export default function NoteList({
>
<div className="space-y-2 sm:space-y-2">
{newEvents.filter(eventFilter).length > 0 && (
<div className="flex justify-center w-full max-sm:mt-2">
<div className="flex justify-center w-full mt-2">
<Button size="lg" onClick={showNewEvents}>
{t('show new notes')}
</Button>
@@ -219,7 +219,7 @@ export default function NoteList({
) : events.length ? (
t('no more notes')
) : (
<div className="flex justify-center w-full max-sm:mt-2">
<div className="flex justify-center w-full mt-2">
<Button size="lg" onClick={() => setRefreshCount((pre) => pre + 1)}>
{t('reload notes')}
</Button>