mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-25 15:35:43 +01:00
Respect user input casing for File Explorer root header (#322961)
style: respect user input casing for File Explorer root header Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com> Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -136,6 +136,18 @@
|
||||
font-size: var(--vscode-bodyFontSize-small);
|
||||
}
|
||||
|
||||
/*
|
||||
* File Explorer root header — respect the real casing of the workspace / folder
|
||||
* name (user input). `text-transform: none` overrides both the base
|
||||
* `uppercase` rule and the `capitalize` override above (the `:has(...)`
|
||||
* argument raises specificity). System labels such as "Untitled (Workspace)"
|
||||
* are already title-cased in source, so they still render correctly; only
|
||||
* user-provided folder names (e.g. "vscode-dev") are left untouched.
|
||||
*/
|
||||
.style-override .monaco-pane-view .pane > .pane-header:has(> .icon.codicon-explorer-view-icon) > .title {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Drop the active-tab underline on the auxiliary bar composite header so a
|
||||
* single-composite header (e.g. the secondary side bar "Chat") reads as a plain
|
||||
|
||||
Reference in New Issue
Block a user