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:
parent
96d9099195
commit
5ca082cd7c
1 changed files with 1 additions and 0 deletions
|
@ -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`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue