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 a1f6fc5 commit bf32090Copy full SHA for bf32090
client/packages/lowcoder/src/comps/comps/layout/navLayout.tsx
@@ -576,8 +576,7 @@ NavTmpLayout = withViewFn(NavTmpLayout, (comp) => {
576
defaultOpenKeys={defaultOpenKeys}
577
selectedKeys={[selectedKey]}
578
$navItemStyle={{
579
- // width: `calc(100% - ${getHorizontalMargin(navItemStyle.margin.split(' '))})`,
580
- width: 'auto',
+ width: navMode === 'horizontal' ? 'auto' : `calc(100% - ${getHorizontalMargin(navItemStyle.margin.split(' '))})`,
581
...navItemStyle,
582
}}
583
$navItemHoverStyle={navItemHoverStyle}
0 commit comments