ElementUI有些地方显示实在太小,不方便操作,需要放大:
1、el-dialog的标题栏那个关闭符号
使用如下方法放大
::v-deep .el-dialog__headerbtn {
font-size: 40px;
font-weight: 700;
top: 0px;
}
2、el-table-column 设置sortable 上下按钮太小
使用如下方法放大
::v-deep .sort-caret.ascending {
width: 18px;
height: 22px;
border-top: 12px solid transparent;
border-right: 12px solid transparent;
border-bottom: 12px solid #C0C4CC;
border-left: 12px solid transparent;
position: absolute;
top: -10px !important;
}
::v-deep .sort-caret.descending {
width: 18px;
height: 22px;
border-top: 12px solid #C0C4CC;
border-right: 12px solid transparent;
border-bottom: 12px solid transparent;
border-left: 12px solid transparent;
position: absolute;
top: 18px !important;
}
============持续更新中==============