提交 d1475594 编写于 作者: B Benjamin Pasero 提交者: GitHub

Merge pull request #19976 from reaktivo/feature-15364-dirty-tab-size

Resizes the tab size when dirty file state changes, fixes #15364
......@@ -220,13 +220,15 @@
/* No Tab Close Button */
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.close-button-off {
padding-right: 28px; /* make room for dirty indication when we are running without close button */
padding-right: 12px;
transition: padding-right ease-in-out 100ms;
}
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.close-button-off.dirty {
background-repeat: no-repeat;
background-position-y: center;
background-position-x: calc(100% - 6px); /* to the right of the tab label */
padding-right: 28px; /* make room for dirty indication when we are running without close button */
}
.vs .monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.close-button-off.dirty {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册