Skip to content

Commit

Permalink
fix: additional boolean check in Grid layout (#1404)
Browse files Browse the repository at this point in the history
* fix: additional boolean check in Grid layout

* snapshot update

* also add version to root package
  • Loading branch information
jschuler authored and dgutride committed Feb 18, 2019
1 parent 2fec1aa commit eecc4cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@patternfly/react-lerna-root",
"private": true,
"version": "0.0.0",
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports[`popover renders close-button, header and body 1`] = `
interactiveBorder={0}
isVisible={true}
lazy={true}
maxWidth="calc(1.5rem + 18.75rem)"
maxWidth="calc(var(--pf-c-popover--c-button--sibling--PaddingRight) + 18.75rem)"
onCreate={[Function]}
onHidden={[Function]}
onHide={[Function]}
Expand Down
6 changes: 5 additions & 1 deletion packages/patternfly-4/react-core/src/layouts/Grid/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ const Grid = ({ children, className, gutter, span, ...props }) => {

return (
<div
className={css(...classes, gutter && getGutterModifier(styles, gutter, styles.modifiers.gutter), className)}
className={css(
...classes,
gutter && getGutterModifier(styles, gutter, styles.modifiers && styles.modifiers.gutter),
className
)}
{...props}
>
{children}
Expand Down

0 comments on commit eecc4cf

Please sign in to comment.