Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/vs/workbench/contrib/modernUI/browser/media/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,16 @@
bottom: 0;
width: var(--vscode-spacing-size160);
border-block: var(--vscode-strokeThickness) solid transparent;
background-image: linear-gradient(to right, transparent, var(--modern-ui-editor-tab-action-hover-background));
background-clip: padding-box;
box-sizing: border-box;
pointer-events: none;
}

.modern-ui-tabs.monaco-workbench:not(:is(.hc-black, .hc-light)) .part.editor > .content .editor-group-container > .title .tabs-container > .tab:not(.tab-actions-left):not(.close-action-off):hover > .tab-actions::before,
.modern-ui-tabs.monaco-workbench:not(:is(.hc-black, .hc-light)) .part.editor > .content .editor-group-container > .title .tabs-container > .tab:not(.tab-actions-left):not(.close-action-off) > .tab-actions:focus-within::before {
background-image: linear-gradient(to right, transparent, var(--modern-ui-editor-tab-action-hover-background));
Comment on lines +395 to +397

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added tests.
Some cases can not be unit tested, so I appended testing details to the PR description.

}

.modern-ui-tabs.monaco-workbench:not(:is(.hc-black, .hc-light)) .part.editor > .content .editor-group-container > .title .tabs-container > .tab.tab-actions-left:not(.close-action-off):hover > .tab-actions::before,
.modern-ui-tabs.monaco-workbench:not(:is(.hc-black, .hc-light)) .part.editor > .content .editor-group-container > .title .tabs-container > .tab.tab-actions-left:not(.close-action-off) > .tab-actions:focus-within::before {
right: auto;
Expand Down