From 4c08e17b19ff1183c9ffb9babd85cb85dcea312e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E9=9C=96=E9=93=83?= Date: Sat, 23 May 2026 12:41:42 +0800 Subject: [PATCH] fix(right-click-restorer): prevent domain overflow in domain card - Add truncate/min-w-0/flex-1 to domain code block for ellipsis - Add shrink-0 to Badge to prevent compression - Add gap-2 for consistent spacing --- pages/RightClickRestorer/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/RightClickRestorer/index.tsx b/pages/RightClickRestorer/index.tsx index a0539cd..4b49ccb 100644 --- a/pages/RightClickRestorer/index.tsx +++ b/pages/RightClickRestorer/index.tsx @@ -25,15 +25,17 @@ export default function RightClickRestorerPage() {
-
- {domain || '—'} +
+ + {domain || '—'} + {isUnlocked ? ( - + {t('rightClickRestorer:statusUnlocked')} ) : ( - + {t('rightClickRestorer:statusLocked')}