Skip to content

Commit

Permalink
fix(style): 修复一些对使用造成影响的样式问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed Nov 22, 2024
1 parent acf7046 commit 546eeb4
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/admin/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function About() {
/>
</svg>

<p className="whitespace-nowrap text-sm">v2.0.3</p>
<p className="whitespace-nowrap text-sm">v2.0.4</p>
</span>
<span>PicImpact 是一个摄影师专用的摄影作品展示网站,基于 Next.js + Hono.js 开发。</span>
<div className="flex flex-col w-full">
Expand Down
2 changes: 1 addition & 1 deletion components/admin/album/AlbumAddSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function AlbumAddSheet(props : Readonly<HandleProps>) {
onOpenChange={() => setAlbumAdd(!albumAdd)}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>新增相册</SheetTitle>
<SheetDescription className="space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion components/admin/album/AlbumEditSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function AlbumEditSheet(props : Readonly<HandleProps>) {
}}
modal={false}
>
<SheetContent side="left" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>编辑相册</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/album/AlbumHelpSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function AlbumHelpSheet() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide">
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide">
<SheetHeader>
<SheetTitle>帮助</SheetTitle>
<SheetDescription className="space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion components/admin/copyright/CopyrightAddSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function CopyrightAddSheet(props : Readonly<HandleProps>) {
onOpenChange={() => setCopyrightAdd(!copyrightAdd)}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>新增版权</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/copyright/CopyrightEditSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function CopyrightEditSheet(props : Readonly<HandleProps>) {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>编辑版权</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/list/ImageBatchDeleteSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function ImageBatchDeleteSheet(props : Readonly<ImageServerHandle
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>批量删除</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/list/ImageEditSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function ImageEditSheet(props : Readonly<ImageServerHandleProps &
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>编辑图片</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/list/ImageHelpSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ImageHelpSheet() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide">
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide">
<SheetHeader>
<SheetTitle>帮助</SheetTitle>
<SheetDescription className="space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion components/admin/list/ImageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function ImageView() {
}
}}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide">
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide">
<SheetHeader>
<SheetTitle>{imageViewData.title}</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/settings/storages/AListEditSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function AListEditSheet() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>编辑 AList</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/settings/storages/R2EditSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function S3EditSheet() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>编辑 Cloudflare R2</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/settings/storages/S3EditSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function S3EditSheet() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide" onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>编辑 S3</SheetTitle>
</SheetHeader>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/upload/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ export default function FileUpload() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide space-y-2"
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide space-y-2"
onInteractOutside={(event: any) => event.preventDefault()}>
<SheetHeader>
<SheetTitle>手动上传</SheetTitle>
Expand Down
2 changes: 1 addition & 1 deletion components/admin/upload/FileUploadHelpSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function FileUploadHelpSheet() {
}}
modal={false}
>
<SheetContent side="left" className="overflow-y-auto scrollbar-hide">
<SheetContent side="left" className="w-full overflow-y-auto scrollbar-hide">
<SheetHeader>
<SheetTitle>帮助</SheetTitle>
<SheetDescription className="space-y-2">
Expand Down
2 changes: 1 addition & 1 deletion components/ui/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const SheetHeader = ({
}: React.HTMLAttributes<HTMLDivElement>) => (
<div
className={cn(
"flex flex-col space-y-2 text-center sm:text-left",
"flex flex-col space-y-2 text-center text-left",
className
)}
{...props}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "picimpact",
"version": "2.0.3",
"version": "2.0.4",
"private": true,
"author": "Bess Croft <[email protected]>",
"packageManager": "[email protected]",
Expand Down

0 comments on commit 546eeb4

Please sign in to comment.