User:Polygnotus/Scripts/Claude4.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 194:
}
/* Vector 2022 theme (most- adjust the main common)wrapper */
body.claude-sidebar-visible .mw-page-container {
maxmargin-widthright: calc(100% - ${this.sidebarWidth}) !important;
maxbox-widthsizing: noneborder-box !important;
}
/* Modern Vector theme2022 - mainprevent content areafrom being constrained by max-width */
body.claude-sidebar-visible .mw-page-container-inner {
marginmax-rightwidth: 0none !important;
margin-right: 0 !important;
}
Line 204 ⟶ 210:
margin-right: ${this.sidebarWidth} !important;
box-sizing: border-box;
}
/* Modern Vector theme - main content area */
body.claude-sidebar-visible .mw-page-container-inner {
margin-right: 0 !important;
}
Line 262 ⟶ 263:
/* Reset all margins when sidebar is hidden */
body:not(.claude-sidebar-visible) .mw-page-container {
max-width: none !important;
margin-right: 0 !important;
}
body:not(.claude-sidebar-visible) .mw-page-container-inner {
max-width: 960px !important;
}
body:not(.claude-sidebar-visible) #globalWrapper {
Line 374 ⟶ 377:
style.setAttribute('data-claude-proofreader', 'true');
style.textContent = `
/* Vector 2022 theme (most- adjust the main common)wrapper */
body.claude-sidebar-visible .mw-page-container {
maxmargin-widthright: calc(100% - ${this.sidebarWidth}) !important;
box-sizing: border-box !important;
}
/* Vector 2022 - prevent content from being constrained by max-width */
body.claude-sidebar-visible .mw-page-container-inner {
max-width: none !important;
margin-right: 0 !important;
}