style(frontend): prettier baseline format (no logic change)

This commit is contained in:
2026-09-15 11:27:54 +08:00
parent 09a02fa0d7
commit 29167d3cea
38 changed files with 764 additions and 594 deletions
+5 -3
View File
@@ -58,8 +58,7 @@ function PageImg({ url, width, onLoaded }: { url: string; width: number; onLoade
</button>
</div>
);
if (!src)
return <div className="animate-pulse bg-stone-800" style={{ width, height: width * EST_RATIO }} />;
if (!src) return <div className="animate-pulse bg-stone-800" style={{ width, height: width * EST_RATIO }} />;
return (
<img
src={src}
@@ -408,7 +407,10 @@ export default function CbzReader({ book, initialLocator, initialPercent, chrome
)}
{chapters && chapters.length >= 2 && (
<DropdownMenu.Root>
<DropdownMenu.Trigger className="rd-btn ml-auto inline-flex items-center gap-1.5" aria-label="更多阅读选项">
<DropdownMenu.Trigger
className="rd-btn ml-auto inline-flex items-center gap-1.5"
aria-label="更多阅读选项"
>
<Settings2 size={14} /> 更多
</DropdownMenu.Trigger>
<DropdownMenu.Portal>