Fixed images in editor resizing when popover sidebar is used

refs https://github.com/TryGhost/Team/issues/840

- added media queries so the image sizing doesn't take the sidebar width into account when it's acting as a popover rather than a sidebar
This commit is contained in:
Kevin Ansfield 2021-07-05 12:44:17 +01:00
parent 64819714a7
commit a30d3471d7

View File

@ -639,6 +639,17 @@
max-width: calc(100vw - 280px);
}
@media (max-width: 1024px) {
.koenig-breakout-full {
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
}
.koenig-breakout-full .mw-100vw {
max-width: 100vw;
}
}
/* Table
/* --------------------------------------------------------------- */