mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
fix: SDA-2644 - fix background for min width
This commit is contained in:
parent
eb94467220
commit
ab8e6ae053
@ -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,
|
||||
|
@ -54,7 +54,6 @@ button {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
padding: 12px;
|
||||
|
||||
.ActionButton {
|
||||
width: 24px;
|
||||
|
Loading…
Reference in New Issue
Block a user