diff --git a/build/Table.css b/build/Table.css index abbe34d..0b8cfb5 100644 --- a/build/Table.css +++ b/build/Table.css @@ -131,6 +131,8 @@ border-bottom: 1px solid rgb(193, 199, 208); text-align: center; position: relative; } + .u-table-placeholder .table-nodata { + font-size: 48px; } .u-table-expand-icon-col { width: 10px; } .u-table-row .u-table tr, .u-table-expanded-row .u-table tr { @@ -320,7 +322,7 @@ width: 30px; height: 38px; line-height: 38px; - right: 12px; + right: 0px; top: 1px; z-index: 2; background: rgb(241, 242, 245); diff --git a/build/Table.js b/build/Table.js index 5c0b0b9..74d1d48 100644 --- a/build/Table.js +++ b/build/Table.js @@ -48,6 +48,10 @@ var _beeLoading = require('bee-loading'); var _beeLoading2 = _interopRequireDefault(_beeLoading); +var _beeIcon = require('bee-icon'); + +var _beeIcon2 = _interopRequireDefault(_beeIcon); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } @@ -137,7 +141,7 @@ var defaultProps = { return body; }, emptyText: function emptyText() { - return 'No Data'; + return _react2["default"].createElement(_beeIcon2["default"], { type: 'uf-nodata', className: 'table-nodata' }); }, columns: [], minColumnWidth: 80, diff --git a/src/Table.scss b/src/Table.scss index 5bedaea..b042376 100644 --- a/src/Table.scss +++ b/src/Table.scss @@ -569,7 +569,7 @@ $icon-color:#505F79; } } - &-pop-cont-item>span{ + &-pop-cont-item span.drop-menu-title{ margin-left: -3px; max-width: 132px; width: auto !important;