mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add responsive navbar layout
- Add screensize observer to check size changes - Add navbar item limit configuration per screen size -- exposed through system configs - Re-adjust navbar upon screen size changes
This commit is contained in:
parent
a12e8af652
commit
a46a30e7c7
10 changed files with 135 additions and 16 deletions
|
@ -137,6 +137,15 @@ class SystemConfigHandlerTest extends Unit
|
|||
]
|
||||
];
|
||||
|
||||
$navigationTabLimits = [
|
||||
'XSmall' => 4,
|
||||
'Small' => 4,
|
||||
'Medium' => 6,
|
||||
'Large' => 10,
|
||||
'XLarge' => 12
|
||||
];
|
||||
|
||||
|
||||
$this->handler = new SystemConfigHandler(
|
||||
$projectDir,
|
||||
$legacyDir,
|
||||
|
@ -149,7 +158,8 @@ class SystemConfigHandlerTest extends Unit
|
|||
$classicViewExclusionHandler,
|
||||
$mappers,
|
||||
$systemConfigKeyMap,
|
||||
$cacheResetActions
|
||||
$cacheResetActions,
|
||||
$navigationTabLimits
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue