@@ -196,7 +196,7 @@ export default function MarkdownToHtmlPage() {
variant="outline"
size="sm"
onClick={handleClear}
- className="h-8 rounded-md font-medium text-xs gap-1.5 shadow-sm active:scale-95 text-destructive hover:text-destructive hover:bg-destructive/5 dark:hover:bg-destructive/10 border-input/60 transition-all"
+ className="h-8 rounded-md font-medium text-xs gap-1.5 shadow-sm text-destructive hover:text-destructive hover:bg-destructive/5 dark:hover:bg-destructive/10 border-input/60"
>
{t('clear')}
@@ -206,7 +206,7 @@ export default function MarkdownToHtmlPage() {
size="sm"
onClick={handlePrint}
disabled={!result.html}
- className="h-8 rounded-md font-medium text-xs gap-1.5 shadow-sm active:scale-95 transition-all"
+ className="h-8 rounded-md font-medium text-xs gap-1.5 shadow-sm"
>
{t('print')}
@@ -216,7 +216,7 @@ export default function MarkdownToHtmlPage() {
size="sm"
onClick={handleDownload}
disabled={!result.html}
- className="h-8 rounded-md font-medium text-xs gap-1.5 shadow-sm active:scale-95 transition-all"
+ className="h-8 rounded-md font-medium text-xs gap-1.5 shadow-sm"
>
{t('download')}
@@ -228,7 +228,7 @@ export default function MarkdownToHtmlPage() {
{error && (
{error}
@@ -243,7 +243,7 @@ export default function MarkdownToHtmlPage() {
>
{/* Markdown 输入翼终端 */}
{showInput && (
-
+
{t('inputLabel')}
@@ -263,7 +263,7 @@ export default function MarkdownToHtmlPage() {
{/* 实时 HTML/Iframe 预览翼终端 */}
{showPreview && (
-
+
{(previewMode as string) === 'html' ? t('htmlOutputLabel') : t('previewLabel')}
diff --git a/pages/QrCode/components/GeneratePanel.tsx b/pages/QrCode/components/GeneratePanel.tsx
index f3eceec..e9f5243 100644
--- a/pages/QrCode/components/GeneratePanel.tsx
+++ b/pages/QrCode/components/GeneratePanel.tsx
@@ -10,11 +10,11 @@ export default function GeneratePanel() {
const { generatorState, setTextToEncode, downloadQrCode, copyQrCode } = useQrCodeContext();
return (
-
+
{/* 左翼:高性能受控输入翼终端 */}
diff --git a/pages/QrCode/components/ParsePanel.tsx b/pages/QrCode/components/ParsePanel.tsx
index 80a138f..cd97651 100644
--- a/pages/QrCode/components/ParsePanel.tsx
+++ b/pages/QrCode/components/ParsePanel.tsx
@@ -61,7 +61,7 @@ export default function ParsePanel() {
/* 💡 统一大视觉轴:
- 追加 p-0.5 微隔离,配合 gap-6 建立与生成面板(GeneratePanel)绝对像素对齐的网格天平。
*/
-
+
{/* 左翼:图片接收/拖拽/剪贴板上传终端 */}
+
{/* 流式中央控制切流卡:注入 sm 断点防御,防范单栏状态下发生变形 */}
{qrCode.mode === 'generate' ? (
-
+
) : (
-
+
)}
diff --git a/pages/TextStatistics/index.tsx b/pages/TextStatistics/index.tsx
index 8dd5b5f..7d063c6 100644
--- a/pages/TextStatistics/index.tsx
+++ b/pages/TextStatistics/index.tsx
@@ -26,7 +26,7 @@ export default function Index() {
];
return (
-
+
{/* 文本输入区域 */}
diff --git a/pages/Timestamp/LiveClock.tsx b/pages/Timestamp/LiveClock.tsx
index 9a651dc..a809183 100644
--- a/pages/Timestamp/LiveClock.tsx
+++ b/pages/Timestamp/LiveClock.tsx
@@ -80,7 +80,7 @@ const LiveClock = React.memo(({ unit, onUseNow, className, ...props }: LiveClock
type="button"
onClick={handleUseNow}
title={t('timestamp:useNowTooltip')}
- className="flex h-7 w-7 items-center justify-center rounded-md border border-input bg-background text-muted-foreground shadow-sm transition-all hover:bg-accent hover:text-foreground active:scale-95 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex h-7 w-7 items-center justify-center rounded-md border border-input bg-background text-muted-foreground shadow-sm hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
diff --git a/pages/Timestamp/ResultView.tsx b/pages/Timestamp/ResultView.tsx
index 582b169..536d138 100644
--- a/pages/Timestamp/ResultView.tsx
+++ b/pages/Timestamp/ResultView.tsx
@@ -50,7 +50,7 @@ const ResultView = React.memo(
return (
+
{/* 顶部小标签 */}
{t('timestamp:resultLabel')}
@@ -78,7 +72,7 @@ const ResultView = React.memo(
对齐 shadcn 官方卡片风格,使用 bg-card、border-border 构筑多层级阴影。
核心数值直接拉粗为 text-foreground (在黑夜模式下会自动转为大气的纯白,完美避开刺眼强光)
*/}
-
+
{result}
diff --git a/pages/Timestamp/index.tsx b/pages/Timestamp/index.tsx
index 7999c6d..d362db2 100644
--- a/pages/Timestamp/index.tsx
+++ b/pages/Timestamp/index.tsx
@@ -70,17 +70,13 @@ export default function Index() {
value={input}
onChange={(e: { target: { value: string } }) => setInput(e.target.value)}
className={cn(
- 'font-mono font-semibold h-10 shadow-sm placeholder:text-muted-foreground/60 focus:bg-background transition-all',
+ 'font-mono font-semibold h-10 shadow-sm placeholder:text-muted-foreground/60 focus:bg-background',
error && 'border-destructive focus-visible:ring-destructive',
)}
/>
{/* 错误自愈提示 */}
- {error && (
-
- {error}
-
- )}
+ {error &&
{error}
}
{/* 核心配置群:单位切换 + 时区选择紧凑横排 */}