Shared:ContextMenu:Fixed increasing the width of the second level menu on hover in a tight theme.
This commit is contained in:
parent
ba12aa8b90
commit
a8412a22ca
@ -158,7 +158,7 @@ const SubMenu = (props: {
|
||||
const widthMaxContent = Math.max(...optionsWidth);
|
||||
|
||||
if (root) subListWidth = subListWidth || widthMaxContent;
|
||||
else subListWidth = Math.max(subListWidth, widthMaxContent);
|
||||
else subListWidth = widthMaxContent;
|
||||
}
|
||||
|
||||
if (subMenuRef.current) {
|
||||
|
Loading…
Reference in New Issue
Block a user