MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1,166:
/* ======================================================= */
/* 2. MOBILE ONLY:
/* ======================================================= */
@media screen and (max-width: 768px) {
/* A.
/* This targets the outermost container to ensure it sits on top of the page */
.ext-aiassistant,
.ext-aiassistant-panel {
/* 1.
position: fixed !important;
/* 2. Lock to all 4 corners of the screen */
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
/*
height: 100dvh !important;▼
width: 100vw !important;
height: 100dvh !important; /* 'dvh' handles the moving URL bar on iOS */
max-width: none !important;
max-height: none !important;
/*
border: none !important;▼
border-radius: 0 !important;▼
margin: 0 !important;
transform: none !important; /* Prevents centering transforms from interfering */
/* 5. Ensure it is the top-most layer */
background-color: #ffffff !important;
}
.ext-aiassistant-panel {
display: flex !important;
flex-direction: column !important;
justify-content: space-between !important;
/*
overscroll-behavior: none !important;
}
/*
.ext-aiassistant-header {
/* Don't shrink/grow
flex: 0 0 auto !important;
/* iOS
padding-top: env(safe-area-inset-top, 20px) !important;
/* Visuals */
background: #fff !important;
}
/*
.ext-aiassistant-body {
/*
flex: 1 1 auto !important;
/*
overflow-y: auto !important;
-webkit-overflow-scrolling: touch !important; /* Smooth scroll */
/*
width: 100% !important;
▲ height: auto !important;
min-height: 0 !important;▼
}
/*
.ext-aiassistant-footer {
/*
flex: 0 0 auto !important;
/* iOS Safe Area (Home Indicator
/* We add extra padding so the text input isn't covered by the black bar */
padding-bottom: calc(
/* Visuals */
background: #fff !important;
}
}
| |||