0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Added CSS variable to adjust card width when sidebar is open (#17919)

Refs https://github.com/TryGhost/Product/issues/3713
This commit is contained in:
Sanne de Vries 2023-09-01 11:18:31 +02:00 committed by GitHub
parent 96d9099195
commit 5ca082cd7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -643,5 +643,6 @@ export default class GhPostSettingsMenu extends Component {
setSidebarWidthVariable(width) {
document.documentElement.style.setProperty('--editor-sidebar-width', `${width}px`);
document.documentElement.style.setProperty('--kg-breakout-adjustment', `${width}px`);
}
}