MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
Line 1,144:
/* ======================================================= */
/* 3. AI ASSISTANT (AXA BRAIN)
/* ======================================================= */
.ext-aiassistant,▼
.ext-aiassistant-panel {▼
z-index: 2000 !important;▼
@media screen and (max-width: 768px) {
.ext-aiassistant-panel {
/*
This automatically subtracts the keyboard height when it opens. */
position: fixed !important;▼
height: 100dvh !important;
width: 100% !important;▼
max-width: none !important;▼
▲ max-height: none !important;
/*
▲ position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
▲ width: 100% !important;
/*
flex-direction: column !important;
/* 4. Reset margins/borders for full screen */
margin: 0 !important;
/* 5. Prevent the whole panel from scrolling off-screen */
overflow: hidden !important;
overscroll-behavior: none !important;
}
/* --- CRITICAL FIX: PREVENT HEADER/FOOTER COLLAPSE --- */
/*
flex: 0 0 auto !important; /* Do not grow, Do not shrink, Auto basis */
min-height: 50px !important; /* Ensure minimum visibility */
}
/* Lock the Footer Height */
flex: 0 0 auto !important; /* Do not grow, Do not shrink */
padding-bottom: env(safe-area-inset-bottom) !important; /* Handle iPhone Home Bar */
background: #ffffff !important; /* Ensure background is solid so content doesn't show behind */
z-index: 2002 !important;
}
/* Make the Body take up ONLY the remaining space */
.ext-aiassistant-body {
flex: 1 1 auto !important; /* Grow and Shrink to fill space */
height: auto !important;
-webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
}
}
| |||