Content deleted Content added
Polygnotus (talk | contribs) No edit summary |
Polygnotus (talk | contribs) No edit summary |
||
Line 273:
/* Hidden state styles */
body.claude-sidebar-hidden #claude-proofreader-sidebar {
display: none;
}
body.claude-sidebar-hidden #ca-claude {
display: list-item !important;
}
/*
body:not(.claude-sidebar-visible) .mw-page-container,
body.claude-sidebar-hidden .mw-page-container {
margin-right: 0 !important;
}
body:not(.claude-sidebar-visible) .mw-page-container-inner
body.claude-sidebar-hidden .mw-page-container-inner {
max-width: 960px !important;
}
body:not(.claude-sidebar-visible) .mw-content-container
body.claude-sidebar-hidden .mw-content-container {
max-width: none !important;
}
body:not(.claude-sidebar-visible) #globalWrapper
body.claude-sidebar-hidden #globalWrapper {
margin-right: 0 !important;
}
body:not(.claude-sidebar-visible) .vector-header,
body:not(.claude-sidebar-visible) .vector-sticky-header,
body:not(.claude-sidebar-visible) #mw-head
body.claude-sidebar-hidden .vector-header,
body.claude-sidebar-hidden .vector-sticky-header,
body.claude-sidebar-hidden #mw-head {
right: 0 !important;
width: 100% !important;
}
body:not(.claude-sidebar-visible) #content,
body:not(.claude-sidebar-visible) .mw-body
body.claude-sidebar-hidden #content,
body.claude-sidebar-hidden .mw-body {
margin-right: 0 !important;
}
Line 469 ⟶ 479:
}
adjustMainContent() {
// Only apply layout changes when sidebar is actually visible
if (this.isVisible) {
document.body.classList.add('claude-sidebar-visible');
|