MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1,171:
@media screen and (max-width: 768px) {
/* A.
/*
.ext-aiassistant
clip: auto !important;
}▼
/* B. FORCE THE PANEL TO BE THE APP WINDOW */
.ext-aiassistant-panel {
/* 1.
position: fixed !important;
/* 2. Lock to all 4 corners of the screen */▼
top: 0 !important;
left: 0 !important;
Line 1,184 ⟶ 1,191:
bottom: 0 !important;
/*
width:
height: 100dvh !important; /*
max-width: none !important;
max-height: none !important;
margin: 0 !important;
transform: none !important; /* Critical: stops centering hacks */
/*
▲ z-index: 999999 !important;
▲ background-color: #ffffff !important;
▲ }
display: flex !important;
flex-direction: column !important;
justify-content: space-between !important;
/*
z-index: 9999999 !important; /* Top of everything */
box-shadow: none !important;
overscroll-behavior: none !important; /* Stop background scroll */
}
/* C. HEADER (
.ext-aiassistant-header {
/* iOS Safe Area (The Notch) */▼
padding-top: env(safe-area-inset-top, 20px) !important;▼
background: #fff !important;
▲ width: 100% !important;
border-bottom: 1px solid #eee !important;
min-height: 50px !important;
}
/* D. BODY (
.ext-aiassistant-body {
/*
/* We set height to 0 to force it to calculate based on available flex space */
▲ flex: 1 1 auto !important;
/* instead of expanding to fit the text content. */
flex: 1 1 0% !important;
/*
overflow-y:
-webkit-overflow-scrolling: touch !important;
height: auto !important;
width: 100% !important;
}
/* E. FOOTER (
.ext-aiassistant-footer {
flex: 0 0 auto !important; /*
/* iOS Safe Area (Home Indicator swipe bar) */▼
▲ padding-bottom: calc(15px + env(safe-area-inset-bottom, 20px)) !important;
background: #fff !important;
▲ width: 100% !important;
border-top: 1px solid #eee !important;
padding-bottom: calc(15px + env(safe-area-inset-bottom)) !important;
}
}
| |||