Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 80756993d55692f00bf392a7d48dadb64803b669
https://github.com/phpmyadmin/phpmyadmin/commit/80756993d55692f00bf392a7d48dadb64803b669
Author: Kamil Tekiela <[email protected]>
Date: 2026-11-18 (Wed, 11 November 2026) -03:00

Changed paths: 
M public/themes/bootstrap/scss/_common.scss
M public/themes/bootstrap/scss/_designer.scss
M public/themes/bootstrap/scss/_navigation.scss
M public/themes/bootstrap/scss/_variables.scss
M public/themes/metro/scss/_common.scss
M public/themes/metro/scss/_designer.scss
M public/themes/metro/scss/_navigation.scss
M public/themes/metro/scss/_variables.scss
M public/themes/original/scss/_common.scss
M public/themes/original/scss/_navigation.scss
M public/themes/original/scss/_variables.scss
M public/themes/pmahomme/scss/_common.scss
M public/themes/pmahomme/scss/_designer.scss
M public/themes/pmahomme/scss/_navigation.scss
M public/themes/pmahomme/scss/_variables.scss
M resources/js/main.ts
M resources/js/menu_resizer.ts
M resources/js/modules/ajax.ts
M resources/js/modules/functions.ts
M resources/js/modules/navigation.ts
M resources/templates/base.twig
M resources/templates/database/designer/main.twig
M resources/templates/menu/main.twig
M src/Controllers/Database/DesignerController.php
M src/Header.php
M tests/unit/Controllers/Database/Fixtures/Designer-testMainPage.html
M tests/unit/HeaderTest.php
M tests/unit/ResponseRendererTest.php

Log Message:
-----------
Lay out the navigation panel with CSS

The panel position was set only by JavaScript, so with JavaScript
disabled the panel covered the page content.

The server now sets the --navigation-width custom property on <body>
from NavigationWidth. The themes use it for the panel, the body
margin, the resizer, the collapser and the console. ResizeHandler only
updates the property and the collapser.

The menu bar is rendered with its content and is sticky, so the
JavaScript that moved the breadcrumb and the menu into it and copied
its height into the body padding is removed. The designer keeps the
menu bar in the page flow with CSS instead of a marker element.

On narrow screens the panel is an overlay. It is closed on page load
and opening it does not change the saved width.

Fixes:
- setWidth() created a new MutationObserver on each call, so every
  drag added hundreds of observers that were never disconnected.
- On narrow screens the panel was meant to be hidden on page load,
  but setWidth(0) was immediately overwritten by the saved width.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>

Commit: 092e02faf6c0eff5a8cae8242cf1d9300a2211a0
https://github.com/phpmyadmin/phpmyadmin/commit/092e02faf6c0eff5a8cae8242cf1d9300a2211a0
Author: MaurĂ­cio Meneghini Fauth <[email protected]>
Date: 2026-11-18 (Wed, 11 November 2026) -03:00

Changed paths: 
M public/themes/bootstrap/scss/_common.scss
M public/themes/bootstrap/scss/_designer.scss
M public/themes/bootstrap/scss/_navigation.scss
M public/themes/bootstrap/scss/_variables.scss
M public/themes/metro/scss/_common.scss
M public/themes/metro/scss/_designer.scss
M public/themes/metro/scss/_navigation.scss
M public/themes/metro/scss/_variables.scss
M public/themes/original/scss/_common.scss
M public/themes/original/scss/_navigation.scss
M public/themes/original/scss/_variables.scss
M public/themes/pmahomme/scss/_common.scss
M public/themes/pmahomme/scss/_designer.scss
M public/themes/pmahomme/scss/_navigation.scss
M public/themes/pmahomme/scss/_variables.scss
M resources/js/main.ts
M resources/js/menu_resizer.ts
M resources/js/modules/ajax.ts
M resources/js/modules/functions.ts
M resources/js/modules/navigation.ts
M resources/templates/base.twig
M resources/templates/database/designer/main.twig
M resources/templates/menu/main.twig
M src/Controllers/Database/DesignerController.php
M src/Header.php
M tests/unit/Controllers/Database/Fixtures/Designer-testMainPage.html
M tests/unit/HeaderTest.php
M tests/unit/ResponseRendererTest.php

Log Message:
-----------
Merge #20580 Lay out the navigation panel with CSS

Closes #20580

Signed-off-by: MaurĂ­cio Meneghini Fauth <[email protected]>

_______________________________________________
Git mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to