Skip to content

Commit

Permalink
style: fix tags-view style bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong502431556 committed Mar 2, 2022
1 parent de34bb1 commit ebff817
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions src/components/TagsView/src/TagsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ watch(
position: relative;
top: 2px;
height: calc(~'100% - 4px');
// padding: 0 15px;
padding-right: 25px;
font-size: 12px;
cursor: pointer;
border: 1px solid #d9d9d9;
Expand All @@ -488,10 +488,6 @@ watch(
}
}
&__item:not(.@{prefix-cls}__item--affix) {
padding-right: 25px;
}
&__item:not(.is-active) {
&:hover {
color: var(--el-color-primary);
Expand Down
3 changes: 2 additions & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
name: 'Analysis',
meta: {
title: t('router.analysis'),
noCache: true
noCache: true,
affix: true
}
},
{
Expand Down

0 comments on commit ebff817

Please sign in to comment.