fix: restore candidate preedit caret height and baseline alignment

Cap the caret at 1.2em with a 10% downward offset so it sits on the
text baseline again, and mirror the same styling in horizontal windows
and the settings preview.
This commit is contained in:
fanlusky committed 2026-07-24 03:46:28 +08:00
1 parent 9b3afe1dec
commit f237c548a7
6 files changed
+12 -11

No files matched your search

@@ -39,9 +39,9 @@
.cursor {
display: inline-block;
width: 1.5px;
height: 1em;
height: 1.2em;
background: #6b69d6;
transform: translate(1.3px, 6%);
transform: translate(1.3px, 10%);
}
.row {
@@ -39,9 +39,9 @@
.cursor {
display: inline-block;
width: 1.5px;
height: 1em;
height: 1.2em;
background: #6b69d6;
transform: translate(1.3px, 6%);
transform: translate(1.3px, 10%);
}
.row {
@@ -37,9 +37,9 @@
.cursor {
display: inline-block;
width: 1.5px;
height: 1.4em;
height: 1.2em;
background: #6b69d6;
transform: translate(1.4px, 0px);
transform: translate(1.4px, 10%);
}
.row {
@@ -37,9 +37,9 @@
.cursor {
display: inline-block;
width: 1.5px;
height: 1.4em;
height: 1.2em;
background: #6b69d6;
transform: translate(1.4px, 0px);
transform: translate(1.4px, 10%);
}
.row {
@@ -18,9 +18,9 @@
display: inline-block;
margin-left: 1px;
width: 1.5px;
height: 1em;
height: 1.2em;
background: var(--accent-strong);
transform: translateY(1px);
transform: translateY(10%);
}
.row {
@@ -16,8 +16,9 @@
display: inline-block;
margin-left: 1px;
width: 1.5px;
height: 1em;
height: 1.2em;
background: var(--accent-strong);
transform: translateY(10%);
}
.row {