MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,125:
@media screen and (max-width: 768px) {
/* --- A. THE MAIN CONTAINER --- */
.ext-aiassistant-panel {
/* Force Full Screen Dimensions */
position: fixed !important;
}
inset: 0 !important; /* Shortcut for top/left/right/bottom: 0 */
/* 1. Fix the width:vertical 100%layout !important;for iOS */
heighttop: 100%0 !important;
max-widthleft: none0 !important;
max-heightwidth: none100% !important;
 
/* CRITICAL CHANGE: Use dvh (Dynamic Viewport Height) instead of 100% */
/* Reset appearance */
/* This forces the panel to extend behind the Safari bottom toolbar */
margin: 0 !important;
border-radiusheight: 0100dvh !important;
box-shadow: none !important;
/* Fallback for older browsers */
background: #fff !important; /* Ensure it's opaque */
min-height: 100% !important;
 
/* Reset appearance */
/* CRITICAL FIX: We removed "display: flex !important" */
margin: 0 !important;
/* This allows the JS to hide the window (display: none) when you click minimize */
border-radius: 0 !important;
}
box-shadow: none !important;
background: #fff !important; /* Ensure it's opaque */
z-index: 2000 !important;
}
 
/* --- B. HEADER (Fixed to Top) --- */