Commit 9553e1ed authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Chore: misc fixes and updates

parent 664b3fb4
......@@ -90,8 +90,8 @@
methods: {
setNav() {
let nav = navConfig[this.lang];
this.nav = [nav[0]].concat(nav[2].children);
nav[3].groups.map(group => group.list).forEach(list => {
this.nav = [nav[0]].concat(nav[3].children);
nav[4].groups.map(group => group.list).forEach(list => {
this.nav = this.nav.concat(list);
});
},
......
......@@ -22,7 +22,7 @@
margin-top: 15px;
}
> ul > .nav-item:nth-child(-n + 3) > a {
> ul > .nav-item:nth-child(-n + 4) > a {
margin-top: 0;
}
......
......@@ -86,7 +86,7 @@ new Vue({
})
```
Full example (Component list reference [components.json](https://github.com/ElemeFE/element/blob/carbon/components.json))
Full example (Component list reference [components.json](https://github.com/ElemeFE/element/blob/master/components.json))
```javascript
import Vue from 'vue'
......
......@@ -86,7 +86,7 @@ new Vue({
})
```
完整组件列表和引入方式(完整组件列表以 [components.json](https://github.com/ElemeFE/element/blob/carbon/components.json) 为准)
完整组件列表和引入方式(完整组件列表以 [components.json](https://github.com/ElemeFE/element/blob/master/components.json) 为准)
```javascript
import Vue from 'vue'
......
......@@ -18,7 +18,7 @@
position: relative;
overflow: hidden;
&:hover, &:focus{
&:hover, &:focus {
border-color: #409EFF;
}
}
......
......@@ -8,6 +8,10 @@
"name": "Element React",
"href": "https://eleme.github.io/element-react/"
},
{
"name": "Element Angular",
"href": "https://eleme.github.io/element-angular/"
},
{
"name": "开发指南",
"children": [
......@@ -254,6 +258,10 @@
"name": "Element React",
"href": "https://eleme.github.io/element-react/"
},
{
"name": "Element Angular",
"href": "https://eleme.github.io/element-angular/"
},
{
"name": "Development",
"children": [
......
......@@ -27,11 +27,6 @@
&.focusing:focus:not(:hover){
color: $--color-primary;
}
//&:focus{
// color: $--color-primary;
//}
}
@include e(wrap) {
......
......@@ -232,10 +232,6 @@
}
}
th:first-child .cell, td:first-child .cell {
padding-left: 0;
}
// 拥有多级表头
@include m((group, border)) {
border: $--table-border;
......
......@@ -13,7 +13,7 @@
:class="['el-upload-list__item', 'is-' + file.status, focusing ? 'focusing' : '']"
:key="index"
tabindex="0"
@keydown.delete="$emit('remove', file)"
@keydown.delete="!disabled && $emit('remove', file)"
@focus="focusing = true"
@blur="focusing = false"
@click="focusing = false"
......
......@@ -248,3 +248,5 @@ module.exports = {
Main,
Footer
};
module.exports.default = module.exports;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment