| @@ -7,28 +7,8 @@ | ||
| 7 | 7 | * ├── .metasync-layout-main (main content) |
| 8 | 8 | * └── .metasync-layout-promo (right promotional sidebar) |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -/* ── WP admin sidebar: keep it fixed on plugin pages ───────────────── */ | |
| 12 | -/* WordPress core removes .sticky-menu (position:fixed) when the admin | |
| 13 | - menu is taller than the viewport. Our plugin's expanded sub-menu | |
| 14 | - easily triggers this. Force the sidebar fixed with its own scroll | |
| 15 | - so it never drifts off-screen while the main content scrolls. */ | |
| 16 | - | |
| 17 | -body:has(.metasync-dashboard-wrap) #adminmenuwrap { | |
| 18 | - position: fixed !important; | |
| 19 | - top: var(--wp-admin--admin-bar--height, 32px); | |
| 20 | - bottom: 0; | |
| 21 | - overflow-y: auto; | |
| 22 | - overflow-x: hidden; | |
| 23 | -} | |
| 24 | - | |
| 25 | -body:has(.metasync-dashboard-wrap) #adminmenuback { | |
| 26 | - position: fixed !important; | |
| 27 | - top: var(--wp-admin--admin-bar--height, 32px); | |
| 28 | - bottom: 0; | |
| 29 | -} | |
| 30 | - | |
| 31 | 11 | /* ── Layout grid ────────────────────────────────────────────────────── */ |
| 32 | 12 | |
| 33 | 13 | .metasync-layout { |
| 34 | 14 | display: grid; |