mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-24 02:59:16 +08:00
style: 修改网站运行环境下拉列表样式 (#2503)
This commit is contained in:
parent
23ed80298e
commit
2e1e76b226
@ -153,7 +153,7 @@
|
||||
</div>
|
||||
<div v-if="website.type === 'runtime'">
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-col :span="8">
|
||||
<el-form-item :label="$t('commons.table.type')" prop="runtimeType">
|
||||
<el-select v-model="website.runtimeType" @change="changeRuntimeType()">
|
||||
<el-option label="PHP" value="php"></el-option>
|
||||
@ -161,7 +161,7 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-col :span="16">
|
||||
<el-form-item :label="$t('runtime.runtime')" prop="runtimeID">
|
||||
<el-select
|
||||
v-model="website.runtimeID"
|
||||
@ -175,8 +175,12 @@
|
||||
:value="run.id"
|
||||
>
|
||||
<el-row>
|
||||
<el-col :span="8">{{ run.name }}</el-col>
|
||||
<el-col :span="12">
|
||||
<el-col :span="14">
|
||||
<span class="runtimeName">
|
||||
{{ run.name }}
|
||||
</span>
|
||||
</el-col>
|
||||
<el-col :span="10">
|
||||
{{ ' [' + $t('runtime.' + run.resource) + ']' }}
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -613,3 +617,13 @@ defineExpose({
|
||||
acceptParams,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.runtimeName {
|
||||
width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user