feat: Update MegaMenu styles and grid layout for improved responsiveness
This commit is contained in:
@@ -726,7 +726,7 @@ export class MegaMenuRenderer {
|
||||
|
||||
private getColumnCount(items?: IMenuItem[]): string {
|
||||
const itemCount = items ? items.length : 0;
|
||||
const columnCount = Math.min(Math.max(itemCount, 1), 4);
|
||||
const columnCount = Math.min(Math.max(itemCount, 1), 6);
|
||||
return columnCount.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user