MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,116:
/* ======================================================= */
 
/* 1. GLOBAL Z-INDEXLAYER (All Devices) */
/* EnsuresWe ONLY force the AIlayer windoworder sitshere, "above"not the floating buttons (z-index: 1002)position. */
/* andThis theensures ToCit Overlaysits on top of your floating buttons (z-index: 10051002). */
.ext-aiassistant,
.ext-aiassistant-panel {
z-index: 2000 !important;
position: fixed !important;
}
 
/* 2. MOBILE ONLY: FULL SCREEN MODE */
/* We only force 'fixed' position on mobile to lock it to the screen. */
/* Triggers on phones and small tablets */
@media screen and (max-width: 768px) {
.ext-aiassistant-panel {
/* Force Fixed so it covers the screen regardless of scroll */
position: fixed !important;
/* Override inline styles to force full width/height */
width: 100% !important;
Line 1,141 ⟶ 1,143:
bottom: 0 !important;
 
/* RemoveReset desktop stylingsstyles for a cleaner mobileflat app-like feellook */
border-radius: 0 !important;
margin: 0 !important;
Line 1,147 ⟶ 1,149:
}
/* Optional: Ensure the internal chat body expands to fill the space */
.ext-aiassistant-body {
height: auto !important;