mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-07 13:25:18 +02:00
fix: bug where selection layer leaves a ghost residual line below wrapped lines after deselecting (#432)
Co-authored-by: hoangnh290 <hoangnh290@viettel.com.vn>
This commit is contained in:
@@ -67,6 +67,13 @@
|
|||||||
@apply bg-selection !important;
|
@apply bg-selection !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix WebKit/WKWebView rendering bug where selection layer leaves a ghost
|
||||||
|
residual line below wrapped lines after deselecting (CodeMirror issue #1600, #1627).
|
||||||
|
The layer div must be hidden when empty to force a repaint. */
|
||||||
|
.cm-selectionLayer:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Style gutters */
|
/* Style gutters */
|
||||||
|
|
||||||
.cm-gutters {
|
.cm-gutters {
|
||||||
|
|||||||
Reference in New Issue
Block a user