style: 字体样式调整

This commit is contained in:
wangjiahao 2022-12-29 14:50:53 +08:00
parent de3452893a
commit 6d5769529f
2 changed files with 26 additions and 12 deletions

View File

@ -47,7 +47,7 @@
@command="(type) => clickMore(type, ele)"
>
<span class="el-dropdown-link">
<i class="el-icon-more" />
<i class="el-icon-more"/>
</span>
<el-dropdown-menu
slot="dropdown"
@ -63,13 +63,13 @@
icon="el-icon-edit"
command="edit"
>
{{ $t("commons.edit") }}
{{ $t('commons.edit') }}
</el-dropdown-item>
<el-dropdown-item
icon="el-icon-delete"
command="delete"
>
{{ $t("commons.delete") }}
{{ $t('commons.delete') }}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -83,7 +83,7 @@
secondary
@click="add()"
>
{{ $t("panel.add_app_category") }}
{{ $t('panel.add_app_category') }}
</deBtn>
</div>
</template>
@ -179,12 +179,14 @@ export default {
.de-template-list {
height: 100%;
position: relative;
ul {
margin: 16px 0 20px 0;
padding: 0;
overflow-y: auto;
max-height: calc(100% - 90px);
}
li {
list-style: none;
width: 100%;
@ -209,12 +211,14 @@ export default {
color: #8f959e;
margin-right: 9px;
}
.more {
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
display: none;
.el-icon-more {
width: 24px;
height: 24px;
@ -247,16 +251,19 @@ export default {
li.select {
background: var(--deWhiteHover, #3370ff);
color: var(--primary, #3370ff);
color: var(--TextActive, #f4f4f5);
}
.de-btn-fix {
position: absolute;
bottom: 0;
left: 0;
}
}
.de-template-dropdown {
margin-top: 0 !important;
.popper__arrow {
display: none !important;
}

View File

@ -47,7 +47,7 @@
@command="(type) => clickMore(type, ele)"
>
<span class="el-dropdown-link">
<i class="el-icon-more" />
<i class="el-icon-more"/>
</span>
<el-dropdown-menu
slot="dropdown"
@ -57,19 +57,19 @@
icon="el-icon-upload2"
command="import"
>
{{ $t("panel.import") }}
{{ $t('panel.import') }}
</el-dropdown-item>
<el-dropdown-item
icon="el-icon-edit"
command="edit"
>
{{ $t("panel.rename") }}
{{ $t('panel.rename') }}
</el-dropdown-item>
<el-dropdown-item
icon="el-icon-delete"
command="delete"
>
{{ $t("panel.delete") }}
{{ $t('panel.delete') }}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -83,7 +83,7 @@
secondary
@click="add()"
>
{{ $t("panel.add_category") }}
{{ $t('panel.add_category') }}
</deBtn>
</div>
</template>
@ -174,12 +174,14 @@ export default {
.de-template-list {
height: 100%;
position: relative;
ul {
margin: 16px 0 20px 0;
padding: 0;
overflow-y: auto;
max-height: calc(100% - 90px);
}
li {
list-style: none;
width: 100%;
@ -200,7 +202,7 @@ export default {
overflow: hidden;
text-overflow: ellipsis;
.text-template-overflow{
.text-template-overflow {
display: inline-block;
max-width: 87%;
overflow: hidden;
@ -212,12 +214,14 @@ export default {
color: #8f959e;
margin-right: 9px;
}
.more {
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
display: none;
.el-icon-more {
width: 24px;
height: 24px;
@ -250,16 +254,19 @@ export default {
li.select {
background: var(--deWhiteHover, #3370ff);
color: var(--primary, #3370ff);
color: var(--TextActive, #f4f4f5);
}
.de-btn-fix {
position: absolute;
bottom: 0;
left: 0;
}
}
.de-template-dropdown {
margin-top: 0 !important;
.popper__arrow {
display: none !important;
}