diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index 04158b4a..5adea68b 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -285,6 +285,13 @@ table tr.hover-row{ display:none; } } + +.xl-text{ + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + max-width:300px; +} .lg-text{ text-overflow: ellipsis; overflow: hidden; @@ -318,13 +325,7 @@ table tr.hover-row{ display: inline-block; margin-right: 5px; } - - /** - *解决项目、产品视图顶部左边图标不居中的问题 - */ -.el-menu-item .top-icon > [class^=el-icon-] { - margin-right: 0px !important; -} + .el-dialog__header{ padding: 20px !important; } diff --git a/src/views/xm/core/xmIteration/top-nav.vue b/src/views/xm/core/xmIteration/top-nav.vue index e628f77a..fdc2682a 100644 --- a/src/views/xm/core/xmIteration/top-nav.vue +++ b/src/views/xm/core/xmIteration/top-nav.vue @@ -6,44 +6,21 @@ mode="horizontal" @select="setInfotype" class="menus" + style="margin:0 auto;overflow-x: auto;overflow-y: hidden;display: flex;" background-color="rgb(48, 65, 86)" text-color="rgb(191, 203, 217)" active-text-color="#409eff" :router="true" > - - 迭代{{ - xmIteration.iterationName.substring(0, 15) - }} - 迭代{{ xmIteration.iterationName }} - - - 迭代{{ xmIteration.iterationName.substring(0, 15) }} - 迭代{{ xmIteration.iterationName }} - + > 迭代{{ xmIteration.iterationName }} + + 测试 diff --git a/src/views/xm/core/xmProject/top-nav.vue b/src/views/xm/core/xmProject/top-nav.vue index 8ffc6e33..b3288ba8 100644 --- a/src/views/xm/core/xmProject/top-nav.vue +++ b/src/views/xm/core/xmProject/top-nav.vue @@ -14,35 +14,16 @@ > - - 项目 {{ projectInfo.name.substring(0, 15) }} - 项目 {{ projectInfo.name }} - - - - 项目{{ projectInfo.name.substring(0, 15) }} - 项目{{ projectInfo.name }} - + > + 项目 + {{ projectInfo.name }} + + 产品 diff --git a/src/views/xm/core/xmTestCasedb/top-nav.vue b/src/views/xm/core/xmTestCasedb/top-nav.vue index d4ee2afc..9c5d05cf 100644 --- a/src/views/xm/core/xmTestCasedb/top-nav.vue +++ b/src/views/xm/core/xmTestCasedb/top-nav.vue @@ -6,6 +6,7 @@ mode="horizontal" @select="setInfotype" class="menus" + style="margin:0 auto;overflow-x: auto;overflow-y: hidden;display: flex;" background-color="rgb(48, 65, 86)" text-color="rgb(191, 203, 217)" active-text-color="#409eff" @@ -13,38 +14,14 @@ > - - - - - 测试 {{ testCasedb.name.substring(0, 15) }} - - - - 测试{{ testCasedb.name }} - - - - - 测试{{ testCasedb.name.substring(0, 15) }} - - 测试{{ testCasedb.name }} - + > + bugs {{ testCasedb.name }} + 用例管理