MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1,150:
/* 1. GLOBAL LAYER (All Devices) - STACKING TRAP FIX */
/* ======================================================= */
/* A. Fix the Codex Overlay wrapper.
.cdx-overlay-container,▼
NEVER apply 'transform' here, or it breaks position:fixed children! */
z-index: 2147483647 !important;▼
}▼
/* B. Break the Minerva skin's default stacking trap.
This ensures the AI panel can escape the text body and float above the header. */
#content,
.mw-body,
#mw-content-text {
}
/* C. Give ONLY the panel itself the hardware acceleration.
This ensures it sits physically above the buttons' translateZ(0) hack. */
.ext-aiassistant-panel {
z-index: 2147483647 !important;
transform: translateZ(10px) !important;
will-change: transform !important;
}
Line 1,638 ⟶ 1,655:
max-width: min(100%, 1200px) !important;
}
▲}
▲ z-index: 2147483647 !important;
▲ transform: translateZ(10px) !important;
▲ will-change: transform !important;
}
| |||