Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions src/renderer/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1014,6 +1008,7 @@ input[type="date"] {
height: 100%;
overflow: auto;
padding-right: 38px;
outline: none;
}

.ana-scroll::-webkit-scrollbar {
Expand Down Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/renderer/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/renderer/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 1 addition & 4 deletions src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@ <h2 data-i18n="ana.files">檔案</h2>
<h2 id="anaViewName" data-i18n="ana.viewer">檢視</h2>
<div class="log-tools">
<span class="counter" id="anaViewMeta"></span>
<button class="btn btn-ghost btn-sm" id="btnAnaWrap" type="button" data-i18n-title="ana.wrap.title" title="切換自動換行">
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="6" x2="21" y2="6"/><path d="M3 12h15a3 3 0 0 1 0 6h-4"/><polyline points="16 16 14 18 16 20"/><line x1="3" y1="18" x2="9" y2="18"/></svg>
</button>
<button class="btn btn-ghost btn-sm" id="btnAnaZoomOut" type="button" data-i18n-title="ana.zoomOut.title" title="縮小字級">A-</button>
<button class="btn btn-ghost btn-sm" id="btnAnaZoomIn" type="button" data-i18n-title="ana.zoomIn.title" title="放大字級">A+</button>
<button class="btn btn-ghost btn-sm" id="btnAnaCopy" data-i18n="ana.copy">複製</button>
Expand Down Expand Up @@ -297,7 +294,7 @@ <h2 id="anaViewName" data-i18n="ana.viewer">檢視</h2>
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>
</button>
</div>
<div class="ana-scroll" id="anaScroll">
<div class="ana-scroll" id="anaScroll" tabindex="-1">
<div class="ana-code" id="anaViewContent"></div>
</div>
<div class="ana-ruler" id="anaRuler" hidden>
Expand Down
Loading
Loading