fix: SDA-2644 - Fix snippet window resize issue based on screen size

This commit is contained in:
Kiran Niranjan 2020-11-18 14:53:31 +05:30 committed by psjostrom
parent c1777e1e4a
commit cd60ae268a
2 changed files with 3 additions and 1 deletions

View File

@ -990,7 +990,7 @@ export class WindowHandler {
const opts: ICustomBrowserWindowConstructorOpts = this.getWindowOpts(
{
width,
height: windowHeight,
height: height + CONTAINER_HEIGHT,
minHeight: MIN_HEIGHT,
minWidth: MIN_WIDTH,
modal: false,

View File

@ -118,6 +118,8 @@ button {
margin: 0;
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
background: linear-gradient(
0deg,
rgba(255, 255, 255, 0.96),