瀏覽代碼

样式改

cxmo 1 年之前
父節點
當前提交
c5d18c5df7
共有 2 個文件被更改,包括 4 次插入12 次删除
  1. 2 6
      src/views/dataEntry_manage/databaseList.vue
  2. 2 6
      src/views/predictEdb_manage/predictEdb.vue

+ 2 - 6
src/views/dataEntry_manage/databaseList.vue

@@ -243,10 +243,10 @@
 							<el-button v-if="EdbData.EdbType===2&&isEdbBtnShow('toSource')"
 								type="text" @click="isLookHistory=true;lookEdbId=selected_edbid">指标溯源</el-button>
 							<el-popover 
-								placement="bottom" 
+								placement="bottom-end" 
 								trigger="hover"
 								popper-class="edb-tool-popover"
-								width="80" style="display: inline-block;">
+								width="300" style="display: inline-block;">
 								<div class="edb-tool-wrap">
 									<el-button v-if="isEdbBtnShow('setEn')"
 										type="text" @click="openEnNameDia">设置英文名称</el-button>
@@ -2406,10 +2406,6 @@ export default {
 		.el-button + .el-button{
 			margin-left: 0;
 		}
-		.el-button{
-			width:100%;
-			text-align: left;
-		}
 	}
 }
 </style>

+ 2 - 6
src/views/predictEdb_manage/predictEdb.vue

@@ -195,10 +195,10 @@
 							<el-button v-permission="permissionBtn.predictEdbPermission.edbPreData_edbSource"
 								type="text" @click="isLookHistory=true;lookEdbId=select_id">指标溯源</el-button>
 							<el-popover 
-								placement="bottom" 
+								placement="bottom-end" 
 								trigger="hover"
 								popper-class="edb-tool-popover"
-								width="80" style="display: inline-block;">
+								width="300" style="display: inline-block;">
 								<div class="edb-tool-wrap">
 									<el-button v-permission="permissionBtn.predictEdbPermission.edbPreData_enNameSetting"
 										type="text" @click="clickEdbNameHandle" v-if="currentLang==='ch'||!edb_nameEn">
@@ -1866,10 +1866,6 @@ $mini-font: 12px; $normal-font: 14px;
 		.el-button + .el-button{
 			margin-left: 0;
 		}
-		.el-button{
-			width:100%;
-			text-align: left;
-		}
 	}
 }
 </style>