diff --git a/src/assets/styles/extra.css b/src/assets/styles/extra.css index 62b5a1dc9..f694efddd 100755 --- a/src/assets/styles/extra.css +++ b/src/assets/styles/extra.css @@ -138,7 +138,6 @@ ph { width: 3em; height: 3em; right: 0; - bottom: 0; content: ''; } @@ -155,6 +154,7 @@ ph { transparent 50%, var(--gray-6) 0 ); + transform: translateY(-12px); border-left: 1px solid var(--gray-5); border-top: 1px solid var(--gray-5); border-top-left-radius: 3px; diff --git a/src/components/widgets/Subscribe/hooks.tsx b/src/components/widgets/Subscribe/hooks.tsx index fa3befa1f..d25dafa14 100644 --- a/src/components/widgets/Subscribe/hooks.tsx +++ b/src/components/widgets/Subscribe/hooks.tsx @@ -13,7 +13,7 @@ const SWR_CHECK_SUBSCRIBE_KEY = 'subscribe-status' export const useSubscribeStatus = () => { return useSWR(SWR_CHECK_SUBSCRIBE_KEY, apiClient.subscribe.check, { - refreshInterval: 10e8, + refreshInterval: 60_000 * 10, }) } diff --git a/src/components/widgets/xLogInfo/index.tsx b/src/components/widgets/xLogInfo/index.tsx index 1f9c95370..038f3adae 100644 --- a/src/components/widgets/xLogInfo/index.tsx +++ b/src/components/widgets/xLogInfo/index.tsx @@ -1,5 +1,5 @@ import { clsx } from 'clsx' -import type { FC } from 'react' +import type { FC, SVGProps } from 'react' import { useState } from 'react' import { Collapse } from 'react-collapse' @@ -32,7 +32,7 @@ export const XLogInfoForNote: FC<{ export const XLogInfoBase: FC<{ meta?: XLogMeta }> = ({ meta }) => { - const [collapse, setCollapse] = useState(true) + const [collapse, setCollapse] = useState(false) if (!meta) return null @@ -96,14 +96,22 @@ export const XLogInfoBase: FC<{
@@ -238,9 +237,9 @@ const NoteView: React.FC<{ id: string }> = memo((props) => { )}
{note.topic &&