diff --git a/nezha-fronted/src/components/charts/chart.scss b/nezha-fronted/src/components/charts/chart.scss index 30cca2458..2af205838 100644 --- a/nezha-fronted/src/components/charts/chart.scss +++ b/nezha-fronted/src/components/charts/chart.scss @@ -35,24 +35,6 @@ position: absolute; padding-bottom:3px; } -.more{ - width: 100%; - font-size: 12px; - line-height: 1; - height: 14px; - color: #52545c; - text-align: center; - padding-top:5px ; - .el-icon-warning{ - font-size: 14px; - color: #e6a23c; - margin-right: 3px; - } - .moreClick{ - color: rgb(87, 148, 242); - cursor: pointer; - } -} .nz-icon-warning{ color: #e6a23c; } diff --git a/nezha-fronted/src/components/cli/webSSH.scss b/nezha-fronted/src/components/cli/webSSH.scss index 2230a3f2c..a7df2be97 100644 --- a/nezha-fronted/src/components/cli/webSSH.scss +++ b/nezha-fronted/src/components/cli/webSSH.scss @@ -145,6 +145,9 @@ .fontSet{ margin-left: 5px; } +.el-menu--horizontal .el-menu .el-menu-item.menuActive{ + color: #303133; +} .smallFont{ font-size: 12px; } diff --git a/nezha-fronted/src/components/cli/webSSH.vue b/nezha-fronted/src/components/cli/webSSH.vue index 7f2fc6385..5c0211ef3 100644 --- a/nezha-fronted/src/components/cli/webSSH.vue +++ b/nezha-fronted/src/components/cli/webSSH.vue @@ -11,9 +11,9 @@ - A - A - A + A + A + A @@ -199,6 +199,8 @@ downloadFile:{path: '',uuid: ''}, downloadFileList:[], downloadResult:null, + // 字体大小 + fontSize:15, } }, methods: { @@ -573,6 +575,7 @@ //改变黑窗口字体大小 changeFontSize(fontSize){ // this.$refs['console'+this.index].setFontSize(fontSize); + this.fontSize=fontSize; this.editableTabs.forEach((tab, index) => { this.$refs['console'+index][0].setFontSize(fontSize); });