Skip to content

Commit 1ef2e90

Browse files
committed
Fixed width bug thanks to Coker and Sarah
1 parent 4089491 commit 1ef2e90

File tree

1 file changed

+1
-1
lines changed
  • packages/react-core/src/components/Page

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Page/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class Page extends Component<PageProps, PageState> {
178178

179179
isMobile = () =>
180180
// eslint-disable-next-line radix
181-
this.getWindowWidth() < Number.parseInt(globalBreakpointXl.value, 10) * 16;
181+
this.getWindowWidth() <= Number.parseInt(globalBreakpointXl.value, 10) * 16;
182182

183183
resize = (_event?: MouseEvent | TouchEvent | React.KeyboardEvent<Element>) => {
184184
const { onPageResize } = this.props;

0 commit comments

Comments
 (0)