Skip to content

Commit

Permalink
Avoid setting an inline style of 100%, since this is the default anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Jan 30, 2019
1 parent 3e319bd commit ef14708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/table/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function getTableStyles( { width, height } ) {
}

return {
width: width ? width : undefined,
width: width && width !== '100%' ? width : undefined,
height: height ? height : undefined,
};
}

0 comments on commit ef14708

Please sign in to comment.