fix(client): fix xterm container overflow and IME ghost chars and add Passkey UI

This commit is contained in:
tyuXX 2026-11-26 22:08:25 +00:00
parent 874227e3da
commit 9040c426e8
8 changed files with 571 additions and 14 deletions

View file

@ -116,6 +116,8 @@ body {
padding: 12px;
max-width: 1400px;
width: 100%;
min-width: 0;
overflow-x: hidden;
margin: 0 auto;
}
@ -142,6 +144,8 @@ body {
border: 1px solid var(--border);
padding: 12px;
margin-bottom: 12px;
min-width: 0;
max-width: 100%;
}
.panel-region {
@ -267,7 +271,7 @@ body[data-safe-mode="true"] .mutating-action {
input,
select,
textarea {
textarea:not(.xterm-helper-textarea) {
width: 100%;
min-height: 40px;
padding: 6px 8px;
@ -525,19 +529,53 @@ dialog::backdrop {
}
.term-shell {
width: 100%;
max-width: 100%;
min-width: 0;
overflow: hidden;
position: relative;
border: 1px solid var(--border);
background: var(--bg);
contain: layout style paint;
}
.term-viewport {
position: relative;
width: 100%;
max-width: 100%;
min-width: 0;
height: 55dvh;
min-height: 260px;
padding: 4px;
min-height: 240px;
padding: 0;
overflow: hidden;
background: var(--bg);
}
.term-viewport .xterm {
width: 100%;
height: 100%;
padding: 4px;
overflow: hidden;
}
.xterm .xterm-helper-textarea {
min-height: 0 !important;
width: 0 !important;
height: 0 !important;
padding: 0 !important;
border: 0 !important;
margin: 0 !important;
}
.xterm .composition-view {
background: var(--bg-elevated) !important;
color: var(--accent) !important;
}
.xterm .composition-view:empty {
display: none !important;
}
.touch-keybar {
display: flex;
flex-wrap: wrap;