VS Code Web:固定「...」溢出菜单
将「...」按钮固定在标签栏右侧,使其始终触手可及(github.dev 也适用)。
可复制的代码
/* Make the "..." overflow menu on the tab toolbar always visible and reachable (works on github.dev too) */
.monaco-workbench .tabs-and-actions-container .editor-actions {
position: sticky !important;
right: 0 !important;
z-index: 5 !important;
background: var(--vscode-editorGroupHeader-tabsBackground) !important;
padding-left: 6px !important;
}
.monaco-workbench .tabs-and-actions-container .editor-actions .codicon-toolbar-more {
font-size: 18px !important;
}
如何使用此示例
- 用上方按钮复制代码。
- 安装 JustZix(2 分钟),在目标页面打开扩展。
- 添加一条匹配该页面的新规则。
- 将代码粘贴到规则的 CSS 面板并保存 — 效果立即生效。
为此示例评分
暂无评分 — 成为第一个。