mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-13 02:42:32 +00:00
添加对 CodeMirror 的支持,更新相关依赖版本,并在样式中增加 JSON 视图的样式。新增 JSON 视图类型并实现打开配置文件的功能,更新国际化文本以支持配置文件操作。
This commit is contained in:
18
styles.css
18
styles.css
@@ -2598,3 +2598,21 @@ button.infio-chat-input-model-select {
|
||||
max-width: 80vw;
|
||||
max-height: 80vh;
|
||||
}
|
||||
|
||||
/*
|
||||
* JSON View Styles
|
||||
*/
|
||||
.datafile-source-view.mod-cm6 .cm-gutters {
|
||||
flex: 0 0 auto;
|
||||
background-color: transparent;
|
||||
color: var(--text-faint) !important;
|
||||
border-right: none !important;
|
||||
margin-inline-end: var(--file-folding-offset);
|
||||
font-size: var(--font-ui-smaller);
|
||||
z-index: 1;
|
||||
font-variant: tabular-nums;
|
||||
}
|
||||
|
||||
.cm-gutterElement.cm-activeLineGutter {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user