MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,113:
/* ======================================================= */
/* 3. AI ASSISTANT (AXA BRAIN)
/* ======================================================= */
/* 1. GLOBAL LAYER (All Devices) */
▲/* This ensures it sits on top of your floating buttons (z-index: 1002). */
.ext-aiassistant,
.ext-aiassistant-panel {
Line 1,124 ⟶ 1,123:
}
/* 2.
.ext-aiassistant-footer {▼
align-items: flex-start !important;▼
}▼
@media screen and (max-width: 768px) {
/* --- THE MAIN CONTAINER --- */
.ext-aiassistant-panel {
/* Force Fixed
position: fixed !important;
/* Override inline styles to force full width/height */▼
width: 100% !important;▼
height: 100% !important;▼
max-width: none !important;▼
max-height: none !important;▼
top: 0 !important;
left: 0 !important;
Line 1,143 ⟶ 1,141:
bottom: 0 !important;
/*
▲ max-width: none !important;
▲ max-height: none !important;
margin: 0 !important;▼
border-radius: 0 !important;
▲ margin: 0 !important;
box-shadow: none !important;
▲}
▲.ext-aiassistant-footer {
▲ align-items: flex-start !important;
▲/* MOBILE ONLY: FULL SCREEN APP MODE (Sticky Header/Footer)*/
▲ /* 2. FLEXBOX MAGIC (This creates the sticky behavior) */
display: flex !important;
flex-direction: column !important; /* Stack:
background: #fff !important;
}
/* --- A. HEADER
.ext-aiassistant-header {
flex: 0 0 auto !important; /*
width: 100% !important;
z-index: 10 !important;
border-bottom: 1px solid #eaecf0 !important; /* Visual separator */
}
/* --- B. BODY
.ext-aiassistant-body {
flex: 1 1 auto !important; /* Grow to fill
overflow-y: auto !important; /*
height: auto !important; /* Reset fixed
min-height: 0 !important; /*
overscroll-behavior: contain; /* Prevents background page from scrolling */
}
/* --- C. FOOTER
.ext-aiassistant-footer {
flex: 0 0 auto !important; /*
width: 100% !important;
padding-bottom: env(safe-area-inset-bottom) !important; /* Respect iPhone Home Bar */
▲ /* OPTIONAL: Fix for the alignment issue you mentioned earlier */
}
}
| |||