设置<el-input type=“textarea“/>高度
·
一、设置<el-input type="textarea"/>高度
.el-textarea{
height:88px;
:deep(.el-textarea__inner){
height: 88px;
}
}
二、设置el-input高度
:deep(.el-input__wrapper){
font-size: 14px;
width:100%;
height:32px;
}
三、修改el-form前面红色星号的颜色
:deep(.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before) {
content: "*";
color: var(--el-color-primary);
margin-right: 4px;
}
四、设置el-form在最右侧
<el-form-item style="float:right;margin-right:0px"></el-form-item>
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐



所有评论(0)