Skip to content

Commit

Permalink
Fix width
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Feb 28, 2020
1 parent 3bd0ae9 commit 94d8ca7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/block-library/src/column/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ function ColumnEdit( {
tagName={ Block.div }
className={ classes }
style={ hasWidth ? { flexBasis: width + '%' } : undefined }
data-has-explicit-width={ hasWidth }
/>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/columns/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

// Columns with an explicitly-assigned width should maintain their
// `flex-basis` width and not grow.
&[style] {
&[style*="flex-basis"] {
flex-grow: 0;
}

Expand Down

0 comments on commit 94d8ca7

Please sign in to comment.