From 227688be2556289071385ff3589ae9fc64766bb0 Mon Sep 17 00:00:00 2001 From: callmeyan Date: Fri, 14 Feb 2025 16:55:57 +0800 Subject: [PATCH] fixed ui --- src/assets/core.scss | 4 ++++ src/components/video/video-list-item.tsx | 2 +- src/pages/live/index.tsx | 1 + src/pages/news/edit.tsx | 1 + src/pages/news/index.tsx | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/assets/core.scss b/src/assets/core.scss index 42d06ca..29ace40 100644 --- a/src/assets/core.scss +++ b/src/assets/core.scss @@ -281,6 +281,10 @@ min-width: 0 !important; border-radius: 50px; font-size: 24px; + position: absolute; + top:0; + right:0; + transform: translateY(-100%); svg{ margin-left: 0 !important; } diff --git a/src/components/video/video-list-item.tsx b/src/components/video/video-list-item.tsx index a1130d2..e4d3374 100644 --- a/src/components/video/video-list-item.tsx +++ b/src/components/video/video-list-item.tsx @@ -62,7 +62,7 @@ export const VideoListItem = ( className={`video-item ${className}`} ref={setNodeRef} style={{transform: `translateY(${transform?.y || 0}px)`,}} > -
+
+
diff --git a/src/pages/news/edit.tsx b/src/pages/news/edit.tsx index f565728..33f9d3c 100644 --- a/src/pages/news/edit.tsx +++ b/src/pages/news/edit.tsx @@ -157,6 +157,7 @@ export default function NewEdit() { })} +
diff --git a/src/pages/news/index.tsx b/src/pages/news/index.tsx index d718921..79f192b 100644 --- a/src/pages/news/index.tsx +++ b/src/pages/news/index.tsx @@ -189,6 +189,7 @@ export default function NewsIndex() { ))} +