mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
listview: fix css after antd upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
75a8980733
commit
b4fd2a9425
@ -93,9 +93,9 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getRowClassName (record, index) {
|
getRowClassName (record, index) {
|
||||||
if (index % 2 === 0) {
|
if (index % 2 === 0) {
|
||||||
return 'dark-row'
|
|
||||||
}
|
|
||||||
return 'light-row'
|
return 'light-row'
|
||||||
|
}
|
||||||
|
return 'dark-row'
|
||||||
},
|
},
|
||||||
onSelectChange (selectedRowKeys) {
|
onSelectChange (selectedRowKeys) {
|
||||||
console.log('selectedRowKeys changed: ', selectedRowKeys)
|
console.log('selectedRowKeys changed: ', selectedRowKeys)
|
||||||
@ -106,6 +106,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
/deep/ .ant-table-thead {
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
}
|
||||||
|
|
||||||
/deep/ .light-row {
|
/deep/ .light-row {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user