fix(tabs): remove tab incorrect highlight style (#1416)

This commit is contained in:
on the field of hope
2021-02-02 17:48:47 +08:00
committed by GitHub
parent 8e19d1d52f
commit ae17b9be04
2 changed files with 1 additions and 6 deletions

View File

@@ -333,7 +333,7 @@ export default defineComponent({
key: `tab-${tabName}`,
'aria-controls': `pane-${tabName}`,
role: 'tab',
'aria-selected': pane.active ,
'aria-selected': pane.active,
ref: `tab-${tabName}`,
tabindex: tabindex,
onFocus: () => { setFocus() },

View File

@@ -108,11 +108,6 @@
outline: none;
}
&:focus.is-active.is-focus:not(:active) {
box-shadow: 0 0 2px 2px $--color-primary inset;
border-radius: 3px;
}
& .el-icon-close {
border-radius: 50%;
text-align: center;