Skip to content

Commit b5cefab

Browse files
authored
Merge pull request #48 from easeq/master
0.7.6
2 parents b2c3aa7 + 3a25bf3 commit b5cefab

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

demo/src/schema/normalized.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ export default {
158158
SimpleButton: {
159159
type: 'button',
160160
label: 'Simple Button',
161-
state: false,
162161
thunk: ( config, action ) => ( dispatch, getState ) => {
163162
const tableState = getState()[config.reducerName][config.name];
164163
console.log('toolbar button click', config, tableState);
@@ -176,7 +175,6 @@ export default {
176175
ResetFilters: {
177176
type: 'reset-filters',
178177
label: 'Reset Filters',
179-
state: false,
180178
// styles: {
181179
// backgroundColor: 'red',
182180
// color: 'white'
@@ -185,7 +183,6 @@ export default {
185183
Print: {
186184
type: 'print',
187185
label: 'Print Table',
188-
state: false,
189186
// styles: {
190187
// backgroundColor: 'yellow',
191188
// }
@@ -195,7 +192,6 @@ export default {
195192
type: 'columns',
196193
label: 'Columns',
197194
visible: true,
198-
state: false,
199195
// styles: {
200196
// button: {
201197
// backgroundColor: '#aaa'

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flipbyte/redux-datatable",
3-
"version": "0.7.5",
3+
"version": "0.7.6",
44
"description": "React-Redux data table",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/styled-components/Tbody.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const StyledTbody = styled(Tbody).attrs(({ isPrinting, height }) => (
2929
width: 100%;
3030
margin-right: auto;
3131
margin-left: auto;
32-
overflow-y: ${props => props.isPrinting || props.innerHeight === props.visibleHeight ? 'hidden': 'scroll'};
33-
overflow-x: ${props => props.isPrinting ? 'hidden': 'scroll'};
32+
overflow-y: ${props => props.isPrinting || props.innerHeight === props.height ? 'hidden': 'auto'};
33+
overflow-x: ${props => props.isPrinting ? 'hidden': 'auto'};
3434
border-bottom: 1px solid #ddd;
3535
`;
3636

0 commit comments

Comments
 (0)