Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit f85b58a

Browse files
committed
fix(Dropdown): fix d-flex class check
1 parent 5500e44 commit f85b58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Dropdown/Dropdown.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class Dropdown extends React.Component<Props, State> {
178178
"d-none": desktopOnly,
179179
"d-md-flex": desktopOnly || flex === "md",
180180
[`d-{flex}-flex`]: ["xs", "sm", "lg", "xl"].includes(flex),
181-
"d-flex": typeof flex === "boolean",
181+
"d-flex": flex === true,
182182
"card-options-dropdown": isOption,
183183
show: this.state.isOpen,
184184
},

0 commit comments

Comments
 (0)