fix: power page z-index (#910)
* refactor: optimize CSS classes in EntryPlaceholderLogo and TableHeader Simplify CSS classes in EntryPlaceholderLogo component and remove unnecessary z-index usage in TableHeader component. * update Signed-off-by: Innei <tukon479@gmail.com> --------- Signed-off-by: Innei <tukon479@gmail.com> Co-authored-by: Innei <tukon479@gmail.com>
This commit is contained in:
parent
fac97f1e98
commit
795dccbfc5
|
|
@ -14,12 +14,12 @@ export const EntryPlaceholderLogo = () => {
|
|||
<div
|
||||
onContextMenu={stopPropagation}
|
||||
className={cn(
|
||||
"flex w-full min-w-0 flex-col items-center justify-center gap-1 text-balance px-12 pb-6 text-center text-lg font-medium text-zinc-400 duration-500",
|
||||
"flex w-full min-w-0 flex-col items-center justify-center gap-1 px-12 pb-6 text-center text-lg font-medium text-zinc-400 duration-500",
|
||||
!logoShow && "translate-y-[-50px] opacity-0",
|
||||
)}
|
||||
>
|
||||
<Logo className="size-16 opacity-40 grayscale" />
|
||||
<span className="max-w-[60ch]">{title}</span>
|
||||
<div className="line-clamp-3 w-[60ch] max-w-full">{title}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ export const TransactionsSection: Component = ({ className }) => {
|
|||
</Tabs>
|
||||
<div className={cn("w-fit min-w-0 grow overflow-x-auto", className)}>
|
||||
<Table className="w-full table-fixed">
|
||||
<TableHeader className="sticky top-0 z-10 bg-theme-background">
|
||||
<TableHeader className="sticky top-0 bg-theme-background">
|
||||
<TableRow className="[&_*]:!pl-0 [&_*]:!font-semibold">
|
||||
<TableHead>{t("wallet.transactions.type")}</TableHead>
|
||||
<TableHead>{t("wallet.transactions.amount")}</TableHead>
|
||||
|
|
|
|||
|
|
@ -398,7 +398,7 @@ const SubscriptionItem: FC<{
|
|||
!isLoose && "flex items-center",
|
||||
)}
|
||||
>
|
||||
<div className="truncate font-medium leading-none">{subscription.feeds?.title}</div>
|
||||
<div className="truncate font-medium leading-tight">{subscription.feeds?.title}</div>
|
||||
{isLoose && (
|
||||
<div className="mt-1 line-clamp-1 text-xs text-zinc-500">
|
||||
{subscription.feeds?.description}
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@
|
|||
"entry_actions.copied_notify": "{{which}}已複製到剪貼板",
|
||||
"entry_actions.copy_link": "複製連結",
|
||||
"entry_actions.copy_title": "複製標題",
|
||||
"entry_actions.failed_to_save_to_eagle": "無法保存至 Eagle。",
|
||||
"entry_actions.failed_to_save_to_instapaper": "無法保存至 Instapaper。",
|
||||
"entry_actions.failed_to_save_to_readwise": "無法保存至 Readwise。",
|
||||
"entry_actions.failed_to_save_to_eagle": "無法保存至 Eagle",
|
||||
"entry_actions.failed_to_save_to_instapaper": "無法保存至 Instapaper",
|
||||
"entry_actions.failed_to_save_to_readwise": "無法保存至 Readwise",
|
||||
"entry_actions.mark_as_read": "標記為已讀",
|
||||
"entry_actions.mark_as_unread": "標記為未讀",
|
||||
"entry_actions.open_in_browser": "在{{which}}中開啟",
|
||||
|
|
@ -64,17 +64,17 @@
|
|||
"entry_actions.save_media_to_eagle": "保存媒體至 Eagle",
|
||||
"entry_actions.save_to_instapaper": "保存至 Instapaper",
|
||||
"entry_actions.save_to_readwise": "保存至 Readwise",
|
||||
"entry_actions.saved_to_eagle": "已保存至 Eagle。",
|
||||
"entry_actions.saved_to_instapaper": "已保存至 Instapaper。",
|
||||
"entry_actions.saved_to_readwise": "已保存至 Readwise。",
|
||||
"entry_actions.saved_to_eagle": "已保存至 Eagle",
|
||||
"entry_actions.saved_to_instapaper": "已保存至 Instapaper",
|
||||
"entry_actions.saved_to_readwise": "已保存至 Readwise",
|
||||
"entry_actions.share": "分享",
|
||||
"entry_actions.star": "收藏",
|
||||
"entry_actions.starred": "已收藏。",
|
||||
"entry_actions.starred": "已收藏",
|
||||
"entry_actions.tip": "贊助",
|
||||
"entry_actions.unstar": "取消收藏",
|
||||
"entry_actions.unstarred": "已取消收藏。",
|
||||
"entry_actions.unstarred": "已取消收藏",
|
||||
"entry_actions.view_source_content": "查看原始內容",
|
||||
"entry_column.filtered_content_tip": "你已隱藏篩選內容。",
|
||||
"entry_column.filtered_content_tip": "你已隱藏篩選內容",
|
||||
"entry_column.filtered_content_tip_2": "除了以上顯示的條目,還有一些已篩選的內容。",
|
||||
"entry_column.refreshing": "刷新新條目中...",
|
||||
"entry_content.ai_summary": "AI 摘要",
|
||||
|
|
@ -85,12 +85,12 @@
|
|||
"entry_content.readability_notice": "此內容由 Readability 提供。如果你發現排版異常,請到來源網站查看原始內容。",
|
||||
"entry_content.render_error": "渲染錯誤:",
|
||||
"entry_content.report_issue": "報告問題",
|
||||
"entry_content.support_amount": "{{amount}} 人支持了此訂閱源的創作者。",
|
||||
"entry_content.support_amount": "{{amount}} 人支持了此訂閱源的創作者",
|
||||
"entry_content.support_creator": "支持創作者",
|
||||
"entry_content.web_app_notice": "網頁應用可能不支持此內容類型。你可以下載桌面應用程式。",
|
||||
"entry_list.zero_unread": "全部已讀",
|
||||
"entry_list_header.daily_report": "每日報告",
|
||||
"entry_list_header.hide_no_image_items": "隱藏沒有圖片的條目。",
|
||||
"entry_list_header.hide_no_image_items": "隱藏沒有圖片的條目",
|
||||
"entry_list_header.items": "項目",
|
||||
"entry_list_header.new_entries_available": "有新條目可用",
|
||||
"entry_list_header.refetch": "重新抓取",
|
||||
|
|
@ -105,12 +105,12 @@
|
|||
"entry_list_header.unread": "未讀",
|
||||
"feed_claim_modal.choose_verification_method": "有三種驗證方法可選,你可以選擇其中一種進行驗證。",
|
||||
"feed_claim_modal.claim_button": "認領",
|
||||
"feed_claim_modal.content_instructions": "複製以下內容並貼到你最新的 RSS 訂閱源中。",
|
||||
"feed_claim_modal.content_instructions": "複製以下內容並貼到你最新的 RSS 訂閱源中",
|
||||
"feed_claim_modal.description_current": "當前描述:",
|
||||
"feed_claim_modal.description_instructions": "複製以下內容並貼到你的 RSS 訂閱源中的 <code /> 欄位。",
|
||||
"feed_claim_modal.description_instructions": "複製以下內容並貼到你的 RSS 訂閱源中的 <code /> 欄位",
|
||||
"feed_claim_modal.failed_to_load": "無法加載認領信息",
|
||||
"feed_claim_modal.rss_format_choice": "RSS 生成器通常有兩種格式可選。請根據需要複製以下的 XML 和 JSON 格式。",
|
||||
"feed_claim_modal.rss_instructions": "複製以下代碼並貼到你的 RSS 生成器中。",
|
||||
"feed_claim_modal.rss_instructions": "複製以下代碼並貼到你的 RSS 生成器中",
|
||||
"feed_claim_modal.rss_json_format": "JSON 格式",
|
||||
"feed_claim_modal.rss_xml_format": "XML 格式",
|
||||
"feed_claim_modal.rsshub_notice": "此訂閱源由 RSSHub 提供,緩存時間為 1 小時。發布內容後,請等待最多 1 小時更改才能生效。",
|
||||
|
|
@ -122,23 +122,23 @@
|
|||
"feed_form.add_follow": "新增關注",
|
||||
"feed_form.category": "分類",
|
||||
"feed_form.category_description": "默認情況下,你的關注會按網站分組。",
|
||||
"feed_form.error_fetching_feed": "獲取訂閱源時出錯。",
|
||||
"feed_form.error_fetching_feed": "獲取訂閱源時出錯",
|
||||
"feed_form.fee": "跟隨費用",
|
||||
"feed_form.fee_description": "要跟隨此清單,您必須向清單創建者支付費用。",
|
||||
"feed_form.feed_not_found": "未找到相關資訊流。",
|
||||
"feed_form.feed_not_found": "未找到相關資訊流",
|
||||
"feed_form.feedback": "反饋",
|
||||
"feed_form.follow": "關注",
|
||||
"feed_form.follow_with_fee": "跟隨需要 {{fee}} Power",
|
||||
"feed_form.followed": "🎉 已關注。",
|
||||
"feed_form.followed": "🎉 已關注",
|
||||
"feed_form.private_follow": "私人關注",
|
||||
"feed_form.private_follow_description": "此關注是否在你的個人資料頁面上公開可見。",
|
||||
"feed_form.private_follow_description": "此關注是否在你的個人資料頁面上公開可見",
|
||||
"feed_form.retry": "重試",
|
||||
"feed_form.title": "標題",
|
||||
"feed_form.title_description": "此資訊流的自定義標題。留空則使用默認標題。",
|
||||
"feed_form.unfollow": "取消關注",
|
||||
"feed_form.update": "更新",
|
||||
"feed_form.update_follow": "更新關注",
|
||||
"feed_form.updated": "🎉 已更新。",
|
||||
"feed_form.updated": "🎉 已更新",
|
||||
"feed_form.view": "視圖",
|
||||
"feed_item.claimed_by_owner": "訂閲源所有者",
|
||||
"feed_item.claimed_by_unknown": "未知所有者",
|
||||
|
|
@ -152,7 +152,7 @@
|
|||
"feed_view_type.pictures": "圖片",
|
||||
"feed_view_type.social_media": "社交媒體",
|
||||
"feed_view_type.videos": "視頻",
|
||||
"mark_all_read_button.auto_confirm_info": "將在 3 秒後自動確認。",
|
||||
"mark_all_read_button.auto_confirm_info": "將在 3 秒後自動確認",
|
||||
"mark_all_read_button.confirm": "確認",
|
||||
"mark_all_read_button.confirm_mark_all": "確定將 <which /> 標記為已讀?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "確定將所有標記為已讀?",
|
||||
|
|
@ -163,7 +163,7 @@
|
|||
"notify.unSupportWidth": "{{app_name}} 目前尚未支援流動裝置",
|
||||
"notify.unSupportWidth_1": "您的裝置寬度為 <b>{{width}}</b>,低於支援的最小寬度 {{minWidth}}",
|
||||
"notify.unSupportWidth_2": "請切換至桌面應用程式繼續使用 {{app_name}} <br /> 下載連結:<url />",
|
||||
"notify.unfollow_feed": "已取消關注 <FeedItem />。",
|
||||
"notify.unfollow_feed": "已取消關注 <FeedItem />",
|
||||
"notify.update_info": "{{app_name}} 已準備好更新!",
|
||||
"notify.update_info_1": "點擊以重新啟動",
|
||||
"player.back_10s": "倒退 10 秒",
|
||||
|
|
@ -181,7 +181,7 @@
|
|||
"player.volume": "音量",
|
||||
"resize.tooltip.double_click_to_collapse": "<b>雙擊</b>以摺疊",
|
||||
"resize.tooltip.drag_to_resize": "<b>拖曳</b>以調整大小",
|
||||
"search.empty.no_results": "未找到結果。",
|
||||
"search.empty.no_results": "未找到結果",
|
||||
"search.group.entries": "條目",
|
||||
"search.group.feeds": "訂閱源",
|
||||
"search.options.all": "所有",
|
||||
|
|
@ -239,7 +239,7 @@
|
|||
"tip_modal.feed_owner": "訂閱源擁有者",
|
||||
"tip_modal.low_balance": "你的餘額不足以覆蓋此贊助。請調整金額。",
|
||||
"tip_modal.no_wallet": "你尚未擁有錢包。請創建一個錢包以進行贊助。",
|
||||
"tip_modal.tip_amount_sent": "已經發送給作者。",
|
||||
"tip_modal.tip_amount_sent": "已經發送給作者",
|
||||
"tip_modal.tip_now": "立刻贊助",
|
||||
"tip_modal.tip_sent": "贊助成功!感謝你的支持。",
|
||||
"tip_modal.tip_support": "⭐ 贊助以顯示你的支持!",
|
||||
|
|
@ -284,6 +284,7 @@
|
|||
"words.search": "搜尋",
|
||||
"words.starred": "收藏",
|
||||
"words.title": "標題",
|
||||
"words.transform": "轉換",
|
||||
"words.trending": "熱門",
|
||||
"words.undo": "撤銷",
|
||||
"words.unread": "未讀",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
"words.back": "返回",
|
||||
"words.copy": "複製",
|
||||
"words.create": "創建",
|
||||
"words.delete": "刪除",
|
||||
"words.edit": "編輯",
|
||||
"words.entry": "條目",
|
||||
"words.id": "ID",
|
||||
|
|
|
|||
|
|
@ -89,6 +89,9 @@
|
|||
"general.app": "應用程式",
|
||||
"general.data_persist.description": "本地保存數據以啟用離線存取和本地搜尋。",
|
||||
"general.data_persist.label": "離線使用時保留數據",
|
||||
"general.export.button": "匯出",
|
||||
"general.export.description": "匯出你的訂閱到 OPML 文件",
|
||||
"general.export.label": "匯出訂閱",
|
||||
"general.group_by_date.description": "按日期分組條目。",
|
||||
"general.group_by_date.label": "按日期分組",
|
||||
"general.language": "語言",
|
||||
|
|
@ -159,6 +162,8 @@
|
|||
"lists.create": "建立新清單",
|
||||
"lists.created.error": "建立清單失敗。",
|
||||
"lists.created.success": "成功建立清單!",
|
||||
"lists.delete.error": "刪除清單失敗。",
|
||||
"lists.delete.success": "成功刪除清單!",
|
||||
"lists.description": "描述",
|
||||
"lists.earnings": "收益",
|
||||
"lists.edit.error": "編輯清單失敗。",
|
||||
|
|
@ -184,7 +189,7 @@
|
|||
"lists.submit": "提交",
|
||||
"lists.subscriptions": "訂閱",
|
||||
"lists.title": "標題",
|
||||
"lists.view": "查看",
|
||||
"lists.view": "視圖",
|
||||
"profile.avatar.label": "頭像",
|
||||
"profile.handle.description": "你的唯一識別符。",
|
||||
"profile.handle.label": "識別符",
|
||||
|
|
@ -226,6 +231,7 @@
|
|||
"wallet.transactions.to": "發送至",
|
||||
"wallet.transactions.tx": "交易",
|
||||
"wallet.transactions.type": "類型",
|
||||
"wallet.transactions.types.all": "全部",
|
||||
"wallet.transactions.types.burn": "銷燬",
|
||||
"wallet.transactions.types.mint": "鑄造",
|
||||
"wallet.transactions.types.purchase": "購買",
|
||||
|
|
|
|||
Loading…
Reference in New Issue