We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56467f commit 12d2327Copy full SHA for 12d2327
packages/react-core/src/components/Page/Page.tsx
@@ -264,14 +264,12 @@ class Page extends React.Component<PageProps, PageState> {
264
};
265
266
let nav = null;
267
- if (horizontalSubnav && isHorizontalSubnavWidthLimited) {
+ if (horizontalSubnav) {
268
nav = (
269
- <div className={css(styles.pageMainSubnav, styles.modifiers.limitWidth)}>
+ <div className={css(styles.pageMainSubnav, isHorizontalSubnavWidthLimited && styles.modifiers.limitWidth)}>
270
<PageBody>{horizontalSubnav}</PageBody>
271
</div>
272
);
273
- } else if (horizontalSubnav) {
274
- nav = <div className={css(styles.pageMainSubnav)}>{horizontalSubnav}</div>;
275
}
276
277
const crumb = breadcrumb ? (
0 commit comments