feat(FN-4479): complete Step 2 — remove dead textarea styles
Fusion-Task-Id: FN-4479 Fusion-Task-Lineage: 5dfad520-13eb-4a31-a45c-2daf767a3dff
This commit is contained in:
@@ -738,72 +738,6 @@
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
|
||||
.file-editor-textarea-shell {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.file-editor-textarea-shell--line-numbers {
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.file-editor-line-numbers {
|
||||
width: calc(var(--space-xl) * 2);
|
||||
padding: var(--space-lg) var(--space-sm);
|
||||
border-right: calc(var(--space-xs) * 0.25) solid var(--border);
|
||||
color: var(--text-dim);
|
||||
background: var(--surface);
|
||||
font-family: var(--font-mono);
|
||||
font-size: calc(var(--space-md) + var(--space-xs) * 0.5);
|
||||
line-height: 1.5;
|
||||
text-align: right;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.file-editor-line-number {
|
||||
min-height: calc(var(--space-xl) - var(--space-xs));
|
||||
}
|
||||
|
||||
/* Textarea-based file editor */
|
||||
.file-editor-textarea {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: var(--font-mono);
|
||||
font-size: calc(var(--space-md) + var(--space-xs) * 0.5);
|
||||
line-height: 1.5;
|
||||
padding: var(--space-lg);
|
||||
border: none;
|
||||
outline: none;
|
||||
resize: none;
|
||||
overflow: auto;
|
||||
white-space: pre;
|
||||
overflow-wrap: normal;
|
||||
tab-size: 2;
|
||||
}
|
||||
|
||||
.file-editor-textarea.file-editor-textarea--wrap {
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.file-editor-textarea:focus {
|
||||
outline: calc(var(--space-xs) * 0.25) solid var(--border);
|
||||
outline-offset: calc(var(--space-xs) * -0.25);
|
||||
}
|
||||
|
||||
.file-editor-textarea::selection {
|
||||
background: var(--todo);
|
||||
color: var(--bg);
|
||||
}
|
||||
|
||||
/* File States */
|
||||
.file-error {
|
||||
|
||||
Reference in New Issue
Block a user