2017-06-21 61 views

回答

0

扩展Custom CSS and JS

custom.css

.tabs-container > .tab { 
    flex-grow: 1; /*evenly distribute space*/ 
    min-width: 12% !important; /*width of the entire tab*/ 
    max-width: 12% !important; 
} 
.tabs-container > .tab > .tab-label { 
    max-width: 90%; /*fix shifting close icon*/ 
} 
.tabs-container > .tab > .tab-label > .label-name { 
    display: inline-block; /*necessary for overflow work*/ 
    max-width: 87%; /*text width*/ 
    overflow: hidden; 
    text-overflow: ellipsis; 
} 
+0

甜扩展。但我不确定它是否被激活。有没有一种简单的方法来查看custom.css是否被加载? – Highmastdon

+0

.monaco-editor-background {background} color:red!important; } – Alex

+0

谢谢!我发现如果你引用一个本地文件 'file:/// Users//vscode/custom.css',你需要一个额外的'/' – Highmastdon