MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1,116:
/* ======================================================= */
/* 1. Z-INDEX
.ext-aiassistant,
.ext-aiassistant-panel {
z-index:
}
▲/* 3. MOBILE OVERRIDES */
@media screen and (max-width: 768px) {
/* --- A. THE MAIN CONTAINER
.ext-aiassistant-panel {
/* Force Full Screen Dimensions */
position: fixed !important;
width:
height:
max-width: none !important;
border-radius: 0 !important;
box-shadow: none !important;
/* CRITICAL FIX
/* This allows the JS to hide the window (display: none) when you click minimize */
}
Line 1,169 ⟶ 1,156:
padding-top: env(safe-area-inset-top) !important;
z-index:
background: #fff !important; /* Match your theme header color if needed */
border-bottom: 1px solid #eaecf0 !important;
}
Line 1,185 ⟶ 1,172:
padding-bottom: env(safe-area-inset-bottom) !important;
z-index:
background: #fff !important;
border-top: 1px solid #eaecf0 !important;
Line 1,198 ⟶ 1,185:
/* Calculate Bottom: Approx Footer Height (65px) + Home Bar */
/* We leave a little extra space so text isn't cut off by the input box */
bottom: calc(65px + env(safe-area-inset-bottom)) !important;
Line 1,208 ⟶ 1,196:
overflow-y: auto !important;
-webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}
}
| |||