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( const opts: ICustomBrowserWindowConstructorOpts = this.getWindowOpts(
{ {
width, width,
height: windowHeight, height: height + CONTAINER_HEIGHT,
minHeight: MIN_HEIGHT, minHeight: MIN_HEIGHT,
minWidth: MIN_WIDTH, minWidth: MIN_WIDTH,
modal: false, modal: false,

View File

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