opt: upgrade element-plus to 2.3.0, optimize the styles for for element dialog

This commit is contained in:
RockYang
2023-08-22 07:14:13 +08:00
parent 4cf3af0c7b
commit 68dc261b44
7 changed files with 199 additions and 183 deletions

View File

@@ -231,9 +231,7 @@
<el-dialog
v-model="showRewardDialog"
:show-close="true"
custom-class="donate-dialog"
width="400px"
top="5vh"
title="参与众筹"
>
<el-alert type="info" :closable="false">
@@ -989,31 +987,28 @@ $borderColor = #4676d0;
width 100%
padding-top 10px;
.el-tooltip__trigger {
.el-dropdown-link {
width 100%;
cursor: pointer
display flex
.el-dropdown-link {
cursor: pointer
.el-image {
width: 20px;
height: 20px;
border-radius: 5px;
}
.username {
display flex
line-height 22px;
width 230px;
padding-left 10px;
.el-image {
width: 20px;
height: 20px;
border-radius: 5px;
}
}
.username {
display flex
line-height 22px;
width 230px;
padding-left 10px;
}
.el-icon {
color: #cccccc;
line-height 24px;
}
.el-icon {
color: #cccccc;
line-height 24px;
}
}
@@ -1218,4 +1213,17 @@ $borderColor = #4676d0;
}
}
}
</style>
<style lang="stylus">
.el-overlay-dialog {
display flex
justify-content center
align-items center
.el-dialog {
margin 10px;
}
}
</style>