diff --git a/src/assets/index.css b/src/assets/index.css index f1f578df..0dee46ec 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -140,6 +140,7 @@ } /* context menu */ .context-menu { + -webkit-app-region: no-drag; display: flex; flex-direction: column; gap: 2px; diff --git a/src/components/Profile/index.tsx b/src/components/Profile/index.tsx index 3e407511..4ba45a6d 100644 --- a/src/components/Profile/index.tsx +++ b/src/components/Profile/index.tsx @@ -54,6 +54,7 @@ const Profile: FC = ({ uid, type = "embed", cid }) => { const hasMore = email || canRemoveFromChannel || canRemoveFromServer; const iconClass = `cursor-pointer flex flex-col items-center gap-1 rounded-lg w-32 text-primary-400 bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 text-sm pt-3.5 pb-3`; const containerClass = clsx( + "app-no-drag", `flex-center flex-col gap-1 z-[99] mt-20 select-none`, isCard ? "p-4 w-[280px] bg-white dark:bg-gray-800 drop-shadow rounded-md" : "md:w-[432px]" ); diff --git a/src/routes/chat/ChannelChat/index.tsx b/src/routes/chat/ChannelChat/index.tsx index 5745314c..b6b60c86 100644 --- a/src/routes/chat/ChannelChat/index.tsx +++ b/src/routes/chat/ChannelChat/index.tsx @@ -119,7 +119,7 @@ function ChannelChat({ cid = 0, dropFiles = [] }: Props) {
- {name} + {name} {description}
diff --git a/src/routes/favs/index.tsx b/src/routes/favs/index.tsx index cebc1ab4..b0bb1c87 100644 --- a/src/routes/favs/index.tsx +++ b/src/routes/favs/index.tsx @@ -120,14 +120,15 @@ function FavsPage() { removeFavorite(id); }; return ( -
-
+
+
    {Filters.map(({ icon, title, filter: f }) => { return (
  • ); return ( -
    +

    {tip} {dayjs(created_at).format("YYYY-MM-DD")} diff --git a/src/routes/resources/Search.tsx b/src/routes/resources/Search.tsx index 361e7156..1484b2f0 100644 --- a/src/routes/resources/Search.tsx +++ b/src/routes/resources/Search.tsx @@ -21,6 +21,7 @@ const Search: FC = ({ value = "", updateSearchValue = null, embed = false return (
    = ({ value = "", updateSearchValue = null, embed = false
    diff --git a/src/routes/resources/index.tsx b/src/routes/resources/index.tsx index 45053924..1c043a2e 100644 --- a/src/routes/resources/index.tsx +++ b/src/routes/resources/index.tsx @@ -90,14 +90,15 @@ function ResourceManagement() { // }); return ( -
    +
    -
    +
    +