ml-ui-lib 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,6 +224,7 @@
224
224
  .nav-items {
225
225
  gap: 0px;
226
226
  flex-direction: column;
227
+ overflow: auto;
227
228
  }
228
229
 
229
230
  .navbar-links {
@@ -11,7 +11,7 @@ export const Navbar = ({ siteUrl, items, logoSrc = '', logoAlt = 'M Lhuillier Lo
11
11
  const [currentPath, setCurrentPath] = useState(null);
12
12
  const [openDropdown, setOpenDropdown] = useState(null);
13
13
  useEffect(() => {
14
- const handleResize = () => setIsMobile(window.innerWidth <= 590);
14
+ const handleResize = () => setIsMobile(window.innerWidth <= 992);
15
15
  handleResize();
16
16
  setCurrentPath(window.location.pathname);
17
17
  window.addEventListener('resize', handleResize);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ml-ui-lib",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",