mirror of https://github.com/ElemeFE/element
Table: fix column[type=selection] style issue in ie9+.
parent
2dd2c79365
commit
fed488ef9f
|
@ -29,6 +29,7 @@ cooking.set({
|
||||||
publicPath: process.env.CI_ENV || '',
|
publicPath: process.env.CI_ENV || '',
|
||||||
hash: true,
|
hash: true,
|
||||||
devServer: {
|
devServer: {
|
||||||
|
hostname: '0.0.0.0',
|
||||||
port: 8085,
|
port: 8085,
|
||||||
log: false,
|
log: false,
|
||||||
publicPath: '/'
|
publicPath: '/'
|
||||||
|
|
|
@ -13,7 +13,8 @@ const defaults = {
|
||||||
width: 48,
|
width: 48,
|
||||||
minWidth: 48,
|
minWidth: 48,
|
||||||
realWidth: 48,
|
realWidth: 48,
|
||||||
order: ''
|
order: '',
|
||||||
|
className: 'el-table-column--selection'
|
||||||
},
|
},
|
||||||
index: {
|
index: {
|
||||||
width: 48,
|
width: 48,
|
||||||
|
|
|
@ -101,6 +101,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script type="text/babel">
|
<script type="text/babel">
|
||||||
|
import ElCheckbox from 'element-ui/packages/checkbox';
|
||||||
import Migrating from 'element-ui/src/mixins/migrating';
|
import Migrating from 'element-ui/src/mixins/migrating';
|
||||||
import throttle from 'throttle-debounce/throttle';
|
import throttle from 'throttle-debounce/throttle';
|
||||||
import debounce from 'throttle-debounce/debounce';
|
import debounce from 'throttle-debounce/debounce';
|
||||||
|
@ -160,7 +161,8 @@
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
TableHeader,
|
TableHeader,
|
||||||
TableBody
|
TableBody,
|
||||||
|
ElCheckbox
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -4,6 +4,13 @@
|
||||||
@import "./common/var.css";
|
@import "./common/var.css";
|
||||||
|
|
||||||
@component-namespace el {
|
@component-namespace el {
|
||||||
|
@b table-column {
|
||||||
|
@m selection .cell {
|
||||||
|
padding-left: 14px;
|
||||||
|
padding-right: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@b table-filter {
|
@b table-filter {
|
||||||
border: solid 1px #d3dce6;
|
border: solid 1px #d3dce6;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|
Loading…
Reference in New Issue