diff --git a/src/renderer/css/styles.css b/src/renderer/css/styles.css index d78e2a9..4e7d047 100644 --- a/src/renderer/css/styles.css +++ b/src/renderer/css/styles.css @@ -931,12 +931,6 @@ input[type="date"] { outline-offset: -1px; } -/* Active state for the viewer word-wrap toggle. */ -#btnAnaWrap.on { - color: var(--accent); - background: color-mix(in srgb, var(--accent) 14%, transparent); -} - .ana-row { display: flex; align-items: center; @@ -1014,6 +1008,7 @@ input[type="date"] { height: 100%; overflow: auto; padding-right: 38px; + outline: none; } .ana-scroll::-webkit-scrollbar { @@ -1269,11 +1264,6 @@ body.ana-ruler-dragging .ana-ruler-view { .ana-line { display: flex; align-items: flex-start; - /* Skip layout/paint work for off-screen lines so scrolling a large log stays - smooth. `auto` lets the browser remember each line's real height once seen, - keeping the scrollbar stable; ~20px matches the 12.5px/1.55 line-height. */ - content-visibility: auto; - contain-intrinsic-size: auto 20px; } .ana-line:hover { diff --git a/src/renderer/i18n/en.json b/src/renderer/i18n/en.json index 2cda65c..d669ab0 100644 --- a/src/renderer/i18n/en.json +++ b/src/renderer/i18n/en.json @@ -75,7 +75,6 @@ "ana.hl.auto": "Auto", "ana.hl.none": "Off", "ana.copy": "Copy", - "ana.wrap.title": "Toggle word wrap", "ana.zoomIn.title": "Zoom in (Ctrl +)", "ana.zoomOut.title": "Zoom out (Ctrl -)", "ana.ai": "AI", diff --git a/src/renderer/i18n/zh.json b/src/renderer/i18n/zh.json index 77a44b2..7e0e188 100644 --- a/src/renderer/i18n/zh.json +++ b/src/renderer/i18n/zh.json @@ -75,7 +75,6 @@ "ana.hl.auto": "自動", "ana.hl.none": "關閉", "ana.copy": "複製", - "ana.wrap.title": "切換自動換行", "ana.zoomIn.title": "放大字級 (Ctrl +)", "ana.zoomOut.title": "縮小字級 (Ctrl -)", "ana.ai": "AI", diff --git a/src/renderer/index.html b/src/renderer/index.html index 8911ecc..494d565 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -244,9 +244,6 @@

檔案

檢視

- @@ -297,7 +294,7 @@

檢視

-
+