Revert "use scroll-shadow tricks from SCM (#280930)" (#290344)

This reverts commit d88e21d50b.
This commit is contained in:
Johannes Rieken
2026-01-26 10:44:50 +01:00
committed by GitHub
parent 405efc4d05
commit 7051debb89
2 changed files with 1 additions and 7 deletions

View File

@@ -1844,10 +1844,6 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
}
}));
this._register(this._inputEditor.onDidScrollChange(e => {
toolbarsContainer.classList.toggle('scroll-top-decoration', e.scrollTop > 0);
}));
this._register(this._inputEditor.onDidChangeModelContent(() => {
const currentHeight = Math.min(this._inputEditor.getContentHeight(), this.inputEditorMaxHeight);
if (currentHeight !== this.inputEditorHeight) {

View File

@@ -1371,9 +1371,7 @@ have to be updated for changes to the rules above, or to support more deeply nes
}
}
.interactive-session .chat-input-toolbars.scroll-top-decoration {
box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset
}
.interactive-session .chat-input-toolbar .chat-input-picker-item .action-label,
.interactive-session .chat-input-toolbar .chat-sessionPicker-item .action-label {