Rewrite fixDisplayIssues.ts from 719 → 70 lines. Removed: - Nuclear CSS injection (background-image: none !important on *, border removal on all non-input elements, display: none on narrow elements) - MutationObserver watching all DOM mutations - setInterval(1000ms) scanning every element in the document - 50+ debug log statements Kept: grid overlay removal (harmless), 3 opt-in diagnostic console commands (__enableCleanMode, __disableCleanMode, __findVerticalLines). Also reduce aggressiveVisualFix.ts to a documented no-op (was already disabled but still contained ~190 lines of dead code). The original vertical line issue was fixed at the CSS source (global-effects.css gradient removal + input focus styles). Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
399 B
TypeScript
12 lines
399 B
TypeScript
/**
|
|
* Aggressive visual fix — DEPRECATED
|
|
*
|
|
* The original problem (vertical lines from a CSS gradient) was fixed at the
|
|
* source in global-effects.css and input focus styles. This file is kept as a
|
|
* no-op to avoid import errors; it can be safely deleted once all references
|
|
* are removed.
|
|
*/
|
|
|
|
export function applyAggressiveVisualFix(): void {
|
|
// No-op — problem resolved at source.
|
|
}
|