MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1,637:
.fullscreen-logo img.mw-file-element {
max-width: min(100%, 1200px) !important;
}
}
/* ======================================================= */
/* HIDE FLOATING BUTTONS WHEN AI PANEL IS OPEN (Mobile) */
/* ======================================================= */
@media screen and (max-width: 768px) {
body:has(.ext-aiassistant-panel[style*="display: block"]),
body:has(.ext-aiassistant-panel:not([style*="display: none"])):has(.cdx-overlay-container) {
/* When the AI panel is visible, hide the 4 bottom buttons */
}
body:has(.ext-aiassistant-panel[style*="display: block"]) #searchIcon,
body:has(.ext-aiassistant-panel[style*="display: block"]) .branding-box,
body:has(.ext-aiassistant-panel[style*="display: block"]) #cps-open-toc,
body:has(.ext-aiassistant-panel[style*="display: block"]) #custom-email-btn {
display: none !important;
}
}
| |||