fix: SDA-2644 - fix background for min width

This commit is contained in:
Kiran Niranjan 2020-11-18 17:24:54 +05:30 committed by psjostrom
parent eb94467220
commit ab8e6ae053
2 changed files with 3 additions and 3 deletions

View File

@ -962,7 +962,8 @@ export class WindowHandler {
const MIN_HEIGHT = 312;
const MIN_WIDTH = 320;
const OS_PADDING = 25;
const CONTAINER_HEIGHT = 190;
const CONTAINER_HEIGHT = 175;
const OS_PADDING = 25;
let height: number = dimensions?.height || 0;
let width: number = dimensions?.width || 0;
@ -990,7 +991,7 @@ export class WindowHandler {
const opts: ICustomBrowserWindowConstructorOpts = this.getWindowOpts(
{
width,
height: height + CONTAINER_HEIGHT,
height: windowHeight,
minHeight: MIN_HEIGHT,
minWidth: MIN_WIDTH,
modal: false,

View File

@ -54,7 +54,6 @@ button {
text-align: center;
align-items: center;
padding: 12px;
padding: 12px;
.ActionButton {
width: 24px;